mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Workaround for Apple compiler bug causing Eigen compile error
This commit is contained in:
parent
d8fedc1bc0
commit
546bb22421
@ -1223,6 +1223,10 @@ def CompileCxx(obj,src,opts):
|
|||||||
else:
|
else:
|
||||||
cmd += " -fno-exceptions"
|
cmd += " -fno-exceptions"
|
||||||
|
|
||||||
|
if src.endswith(".mm"):
|
||||||
|
# Work around Apple compiler bug.
|
||||||
|
cmd += " -U__EXCEPTIONS"
|
||||||
|
|
||||||
if 'RTTI' not in opts:
|
if 'RTTI' not in opts:
|
||||||
# We always disable RTTI on Android for memory usage reasons.
|
# We always disable RTTI on Android for memory usage reasons.
|
||||||
if optlevel >= 4 or GetTarget() == "android":
|
if optlevel >= 4 or GetTarget() == "android":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user