mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
Fix build on -CURRENT
This commit is contained in:
parent
3ac42a22f2
commit
6670844ef7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320557
@ -29,7 +29,9 @@ OPTIONS_DEFINE= OPTIMIZED_CFLAGS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${CXX:T} != "clang++"
|
||||
_CLANG!= clang --version | ${HEAD} -1 | ${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/'
|
||||
|
||||
.if ${CXX:T} != "clang++" && !defined(_CLANG)
|
||||
CXXFLAGS+= --no-exceptions
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user