mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-02 17:08:56 +00:00
Pass CFLAGS to {CC} when using it as an `ld' replacement.
This commit is contained in:
parent
54fd053e6c
commit
bea805383e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96311
@ -225,7 +225,7 @@ ${SHLIB_NAME}: ${SOBJS}
|
||||
-o ${SHLIB_NAME} \
|
||||
`lorder ${SOBJS} | tsort -q` ${LDADD}
|
||||
.else
|
||||
@${CC} -shared -Wl,-x \
|
||||
@${CC} ${CFLAGS} -shared -Wl,-x \
|
||||
-o ${SHLIB_NAME} -Wl,-soname,${SONAME} \
|
||||
`lorder ${SOBJS} | tsort -q` ${LDADD}
|
||||
.endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user