Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137078397
D15687.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D15687.id.diff
View Options
Index: gnu/lib/Makefile
===================================================================
--- gnu/lib/Makefile
+++ gnu/lib/Makefile
@@ -4,11 +4,10 @@
SUBDIR=
SUBDIR.${MK_DIALOG}+= libdialog
-SUBDIR.${MK_GCC}+= libgcov
+SUBDIR.${MK_GCC}+= libgcov libssp
.if ${MK_GCC} != "no" && ${MK_OPENMP} == "no"
SUBDIR+= libgomp
.endif
-SUBDIR.${MK_SSP}+= libssp
SUBDIR.${MK_TESTS}+= tests
.if ${MK_BSD_CRTBEGIN} == "no"
Index: lib/libc/Makefile
===================================================================
--- lib/libc/Makefile
+++ lib/libc/Makefile
@@ -31,11 +31,7 @@
LIB=c
SHLIB_MAJOR= 7
-.if ${MK_SSP} != "no"
SHLIB_LDSCRIPT=libc.ldscript
-.else
-SHLIB_LDSCRIPT=libc_nossp.ldscript
-.endif
SHLIB_LDSCRIPT_LINKS=libxnet.so
WARNS?= 2
CFLAGS+=-I${LIBC_SRCTOP}/include -I${SRCTOP}/include
@@ -58,10 +54,6 @@
#
LDFLAGS+= -nodefaultlibs
LIBADD+= compiler_rt
-
-.if ${MK_SSP} != "no"
-LIBADD+= ssp_nonshared
-.endif
# Extras that live in either libc.a or libc_nonshared.a
LIBC_NONSHARED_SRCS=
Index: lib/libc/libc.ldscript
===================================================================
--- lib/libc/libc.ldscript
+++ lib/libc/libc.ldscript
@@ -1,2 +1,2 @@
/* $FreeBSD$ */
-GROUP ( @@SHLIB@@ @@LIBDIR@@/libc_nonshared.a @@LIBDIR@@/libssp_nonshared.a )
+GROUP ( @@SHLIB@@ @@LIBDIR@@/libc_nonshared.a )
Index: lib/libc/libc_nossp.ldscript
===================================================================
--- lib/libc/libc_nossp.ldscript
+++ /dev/null
@@ -1,2 +0,0 @@
-/* $FreeBSD$ */
-GROUP ( @@SHLIB@@ @@LIBDIR@@/libc_nonshared.a )
Index: lib/libc/tests/Makefile
===================================================================
--- lib/libc/tests/Makefile
+++ lib/libc/tests/Makefile
@@ -30,12 +30,9 @@
TESTS_SUBDIRS+= iconv
.endif
-.if ${MK_LOCALES} != "no"
-TESTS_SUBDIRS+= locale
-.endif
-
-.if ${MK_SSP} != "no"
-TESTS_SUBDIRS+= ssp
-.endif
+# We never supported FORTIFY_SOURCE
+#.if ${MK_LOCALES} != "no"
+#TESTS_SUBDIRS+= locale
+#.endif
.include <bsd.test.mk>
Index: share/mk/local.dirdeps.mk
===================================================================
--- share/mk/local.dirdeps.mk
+++ share/mk/local.dirdeps.mk
@@ -74,7 +74,7 @@
# this is how we can handle optional dependencies
.if ${DEP_RELDIR} == "lib/libc"
DIRDEPS += lib/libc_nonshared
-.if ${MK_SSP:Uno} != "no"
+.if !defined(MK_CLANG) && ${MK_SSP:Uno} != "no"
DIRDEPS += gnu/lib/libssp/libssp_nonshared
.endif
.else
Index: share/mk/src.libnames.mk
===================================================================
--- share/mk/src.libnames.mk
+++ share/mk/src.libnames.mk
@@ -343,7 +343,7 @@
# The libc dependencies are not strictly needed but are defined to make the
# assert happy.
_DP_c= compiler_rt
-.if ${MK_SSP} != "no"
+.if !defined(MK_CLANG) && ${MK_SSP} != "no"
_DP_c+= ssp_nonshared
.endif
_DP_stdthreads= pthread
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 22, 2:41 AM (12 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25878717
Default Alt Text
D15687.id.diff (2 KB)
Attached To
Mode
D15687: libssp is part of GCC, not an independent library.
Attached
Detach File
Event Timeline
Log In to Comment