diff options
author | marcel <marcel@FreeBSD.org> | 2012-05-19 17:49:20 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2012-05-19 17:49:20 +0000 |
commit | c0a523b836a71a5b4fd9eb3ea74c72ad96a36d12 (patch) | |
tree | b762e4507cf81839e4b28d78a36dd47392210e4e /lib | |
parent | 02e775da30bffe0742f314de0b58155eec5d1634 (diff) | |
download | FreeBSD-src-c0a523b836a71a5b4fd9eb3ea74c72ad96a36d12.zip FreeBSD-src-c0a523b836a71a5b4fd9eb3ea74c72ad96a36d12.tar.gz |
Don't link against libssp if MK_SSP is set to no.
Note that this still misses a proper dependency at this time.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 2222384..7684eb9 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -41,7 +41,11 @@ CFLAGS+=${CANCELPOINTS_CFLAGS} # DPADD+= ${LIBGCC} LDFLAGS+= -nodefaultlibs -LDADD+= -lgcc -lssp_nonshared +LDADD+= -lgcc + +.if ${MK_SSP} != "no" +LDADD+= -lssp_nonshared +.endif # Define (empty) variables so that make doesn't give substitution # errors if the included makefiles don't change these: |