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:
parent
04a97800bf
commit
4c92141bda
@ -47,3 +47,6 @@ TGHDRS= AttrHasAttributeImpl \
|
||||
arm_neon
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
||||
# XX: work around GCC bug 67888
|
||||
CFLAGS.gcc += -fpermissive
|
||||
|
Loading…
Reference in New Issue
Block a user