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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=288998

View File

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