svn commit: r314901 - head/lib/libpam/static_libpam
Brooks Davis
brooks at FreeBSD.org
Wed Mar 8 08:25:28 UTC 2017
Author: brooks
Date: Wed Mar 8 08:25:26 2017
New Revision: 314901
URL: https://svnweb.freebsd.org/changeset/base/314901
Log:
Use LDFLAGS rather than CFLAGS when linking.
Reviewed by: kan
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D9882
Modified:
head/lib/libpam/static_libpam/Makefile
Modified: head/lib/libpam/static_libpam/Makefile
==============================================================================
--- head/lib/libpam/static_libpam/Makefile Wed Mar 8 08:09:41 2017 (r314900)
+++ head/lib/libpam/static_libpam/Makefile Wed Mar 8 08:25:26 2017 (r314901)
@@ -64,6 +64,6 @@ CLEANFILES+= openpam_static.o \
openpam_static_modules.o
openpam_static_modules.o: openpam_static.o ${STATIC_MODULES}
- ${CC} -nostdlib ${CFLAGS} -o ${.TARGET} -r -Wl,--whole-archive ${.ALLSRC}
+ ${CC} -nostdlib ${LDFLAGS} -o ${.TARGET} -r -Wl,--whole-archive ${.ALLSRC}
.include "${.CURDIR:H}/libpam/Makefile"
More information about the svn-src-all
mailing list