mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Revert the future-import from bsd.compiler.mk part, as this may have
broken INDEX. Pointed out by: cperciva Feature safe: yes
This commit is contained in:
parent
0157361855
commit
9a0e1f46b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308368
@ -52,27 +52,7 @@ MAKE_ARGS= prefix=${PREFIX} \
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if !defined(COMPILER_TYPE)
|
||||
.if ${CC:T:Mgcc*}
|
||||
COMPILER_TYPE:= gcc
|
||||
.elif ${CC:T:Mclang}
|
||||
COMPILER_TYPE:= clang
|
||||
.elif ${CC:T} == "cc"
|
||||
_COMPILER_VERSION!= ${CC} --version
|
||||
.if ${_COMPILER_VERSION:Mgcc}
|
||||
COMPILER_TYPE:= gcc
|
||||
.elif ${_COMPILER_VERSION:M\(GCC\)}
|
||||
COMPILER_TYPE:= gcc
|
||||
.elif ${_COMPILER_VERSION:Mclang}
|
||||
COMPILER_TYPE:= clang
|
||||
.endif
|
||||
.undef _COMPILER_VERSION
|
||||
.else
|
||||
COMPILER_TYPE:= ${CC:T}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if ${COMPILER_TYPE} == "clang"
|
||||
.if ${CC:T:M*clang*}
|
||||
MAKE_ARGS+= NO_INLINE_DEPGEN=1
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user