summaryrefslogtreecommitdiffstats
path: root/platform/iphone/detect.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform/iphone/detect.py')
-rw-r--r--platform/iphone/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/iphone/detect.py b/platform/iphone/detect.py
index 11e505b872..09304d40f6 100644
--- a/platform/iphone/detect.py
+++ b/platform/iphone/detect.py
@@ -143,6 +143,9 @@ def configure(env):
else:
env.Append(CCFLAGS=["-fno-exceptions"])
+ # Temp fix for ABS/MAX/MIN macros in iPhone SDK blocking compilation
+ env.Append(CCFLAGS=["-Wno-ambiguous-macro"])
+
## Link flags
if env["arch"] == "x86" or env["arch"] == "x86_64":