Commit 2c617aaa authored by Fabio Pelosin's avatar Fabio Pelosin

[Specification] Use accessor to check if a spec requires ARC.

Currently the setting is a top level attribute accessor,
in the future it should be supported for subspecs.

Closes #364.
parent 94155a8c
......@@ -270,7 +270,7 @@ module Pod
chained.unshift @parent.instance_variable_get(:@compiler_flags)[active_platform]
else
chained = @compiler_flags[active_platform].clone
chained.unshift '-fobjc-arc' if @requires_arc
chained.unshift '-fobjc-arc' if requires_arc
chained.unshift ''
end
chained.join(' ')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment