From c0a523b836a71a5b4fd9eb3ea74c72ad96a36d12 Mon Sep 17 00:00:00 2001 From: marcel Date: Sat, 19 May 2012 17:49:20 +0000 Subject: Don't link against libssp if MK_SSP is set to no. Note that this still misses a proper dependency at this time. --- lib/libc/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/libc/Makefile') 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: -- cgit v1.1