diff options
author | Nathan Phillip Brink <ohnobinki@ohnopublishing.net> | 2011-01-13 21:47:54 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-01-14 16:40:58 -0600 |
commit | a534b623b95ea8ee1cb788e60810a7efcc8dd5fb (patch) | |
tree | a6a8cd75ee32549e387856c2310206049557a246 /mk/lib.mk | |
parent | 882a4b7d69d4a7baecba4b8620f36df2ef5445ba (diff) |
bug #351622: Use CFLAGS during linking.
Fix compilation on portage-multilib.
Diffstat (limited to 'mk/lib.mk')
-rw-r--r-- | mk/lib.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ ${SHLIB_NAME}: ${SOBJS} @${ECHO} building shared library $@ @rm -f $@ ${SHLIB_LINK} @ln -fs $@ ${SHLIB_LINK} - ${CC} ${LDFLAGS} -shared -Wl,-x \ + ${CC} ${CFLAGS} ${LDFLAGS} -shared -Wl,-x \ -o $@ -Wl,-soname,${SONAME} \ ${SOBJS} ${LDADD} |