mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Fix with clang is cc is clang, remove the now useless USE_GCC=any
This commit is contained in:
parent
ba5a195a95
commit
9d5aac81f3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326333
@ -13,7 +13,6 @@ COMMENT= Library of optimized inner loops
|
||||
LICENSE= BSD
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USE_GCC= any
|
||||
USES= pathfix pkgconfig
|
||||
USE_GNOME= ltverhack
|
||||
USE_AUTOTOOLS= libtool
|
||||
@ -22,7 +21,8 @@ CONFIGURE_ARGS= --disable-gtk-doc \
|
||||
--disable-glib
|
||||
CFLAGS:= ${CFLAGS:N-O*} -O2
|
||||
|
||||
.if ${CC:T:M*clang*}
|
||||
_COMPILER_VERSION!= ${CC} --version
|
||||
.if ${_COMPILER_VERSION:Mclang}
|
||||
CFLAGS+= -fheinous-gnu-extensions
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user