diff options
author | brooks <brooks@FreeBSD.org> | 2019-05-15 22:17:24 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2019-05-15 22:17:24 +0800 |
commit | 903f6187d8a1726f426cc4916daedfe7203bdc32 (patch) | |
tree | 47b2b5aee10d32066e3e93bf16ecf7806c335553 /devel/llvm40 | |
parent | e7f52bfa1e4756b89350ca105e2695f72d0942b8 (diff) | |
download | freebsd-ports-gnome-903f6187d8a1726f426cc4916daedfe7203bdc32.tar.gz freebsd-ports-gnome-903f6187d8a1726f426cc4916daedfe7203bdc32.tar.zst freebsd-ports-gnome-903f6187d8a1726f426cc4916daedfe7203bdc32.zip |
Use GCC 7 instead of GCC 5 when the base system doesn't have libc++.
We'd use USE_GCC=yes, but GCC 8 doesn't like the obsolete C++ in this
obsolete codebase.
Requested by: gerald
Diffstat (limited to 'devel/llvm40')
-rw-r--r-- | devel/llvm40/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/llvm40/Makefile b/devel/llvm40/Makefile index b32290e2322e..796b30463cb2 100644 --- a/devel/llvm40/Makefile +++ b/devel/llvm40/Makefile @@ -2,7 +2,7 @@ PORTNAME= llvm DISTVERSION= 4.0.1 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} @@ -190,9 +190,9 @@ EXTRAS_LIBS= libclangApplyReplacements \ libmodernizeCore EXTRAS_PATTERN= ${EXTRAS_COMMANDS:tW:C/ */|/g}|${EXTRAS_LIBS:tW:C/ */|/g} -# Force GCC 5 on non-clang systems because GCC 8 won't compile this code. +# Force GCC 7 on non-clang systems because GCC 8 won't compile this code. .if exists(/usr/lib/libstdc++.so) -USE_GCC= 5 +USE_GCC= 7 .endif .include <bsd.port.options.mk> |