This commit is contained in:
Allan Odgaard
2012-12-19 16:40:27 +01:00
parent 88358ccf26
commit 6e228b69aa

View File

@@ -173,7 +173,7 @@ def pch_for(src, target)
target['PRELUDE'].each do |pch|
if srcExt == pch[/\b[a-z]+$/]
res = build_path(pch)
res << "-arc" if srcExt == 'm' && target['OBJ_FLAGS'] =~ /-fobjc-arc/
res << "-arc" if srcExt == 'm' && target['OBJC_FLAGS'] =~ /-fobjc-arc/
res << "-arc" if srcExt == 'mm' && target['OBJCXX_FLAGS'] =~ /-fobjc-arc/
return res
end