Use -fpermissive if compiling with GCC.

Works around GCC bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67888
when compiling Module.cpp
This commit is contained in:
Craig Rodrigues 2015-10-08 00:48:29 +00:00
parent 04a97800bf
commit 4c92141bda

View File

@ -47,3 +47,6 @@ TGHDRS= AttrHasAttributeImpl \
arm_neon
.include "../clang.lib.mk"
# XX: work around GCC bug 67888
CFLAGS.gcc += -fpermissive