Date: Wed, 8 Aug 2018 18:03:57 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r337476 - stable/11/lib/libpam/static_libpam Message-ID: <201808081803.w78I3vI0018334@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Wed Aug 8 18:03:57 2018 New Revision: 337476 URL: https://svnweb.freebsd.org/changeset/base/337476 Log: MFC r310789,r314901: r310789: Use compiler driver to build relocatable object r314901: Use LDFLAGS rather than CFLAGS when linking. Modified: stable/11/lib/libpam/static_libpam/Makefile Directory Properties: stable/11/ (props changed) Modified: stable/11/lib/libpam/static_libpam/Makefile ============================================================================== --- stable/11/lib/libpam/static_libpam/Makefile Wed Aug 8 17:59:33 2018 (r337475) +++ stable/11/lib/libpam/static_libpam/Makefile Wed Aug 8 18:03:57 2018 (r337476) @@ -64,6 +64,6 @@ CLEANFILES+= openpam_static.o \ openpam_static_modules.o openpam_static_modules.o: openpam_static.o ${STATIC_MODULES} - ${LD} -o ${.TARGET} -r --whole-archive ${.ALLSRC} + ${CC} -nostdlib ${LDFLAGS} -o ${.TARGET} -r -Wl,--whole-archive ${.ALLSRC} .include "${.CURDIR:H}/libpam/Makefile"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808081803.w78I3vI0018334>