diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-10-08 00:48:29 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-10-08 00:48:29 +0000 |
commit | 1bb3c00a2bdedce4b3e3d08b9e16499fe82f7278 (patch) | |
tree | 1a324d6844f79c45e1d8a13d0be35c913cb8a033 /lib | |
parent | f3631cd5961eabb5baee9b16071b41175aa27053 (diff) | |
download | FreeBSD-src-1bb3c00a2bdedce4b3e3d08b9e16499fe82f7278.zip FreeBSD-src-1bb3c00a2bdedce4b3e3d08b9e16499fe82f7278.tar.gz |
Use -fpermissive if compiling with GCC.
Works around GCC bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67888
when compiling Module.cpp
Diffstat (limited to 'lib')
-rw-r--r-- | lib/clang/libclangbasic/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/clang/libclangbasic/Makefile b/lib/clang/libclangbasic/Makefile index 68c2a77..028fcdb 100644 --- a/lib/clang/libclangbasic/Makefile +++ b/lib/clang/libclangbasic/Makefile @@ -47,3 +47,6 @@ TGHDRS= AttrHasAttributeImpl \ arm_neon .include "../clang.lib.mk" + +# XX: work around GCC bug 67888 +CFLAGS.gcc += -fpermissive |