diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2024-02-19 22:44:08 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2024-02-19 22:44:08 +0000 |
commit | 99ea67573164637d633e8051eb0a5d52f1f9488e (patch) | |
tree | 4667fab344e8e566613ea269b999e3b37cc0d461 /lib/libc | |
parent | ef75877fc2d93199aab2b509089136c433af1f20 (diff) | |
download | src-99ea67573164637d633e8051eb0a5d52f1f9488e.tar.gz src-99ea67573164637d633e8051eb0a5d52f1f9488e.zip |
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/Makefile | 1 | ||||
-rw-r--r-- | lib/libc/tests/ssp/Makefile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 54748abfeff1..41cf0f6de72a 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -62,6 +62,7 @@ CFLAGS+= -ftls-model=initial-exec # LDFLAGS+= -nodefaultlibs LIBADD+= compiler_rt +LIBADD+= sys LDFLAGS+=-Wl,--auxiliary,libsys.so.7 diff --git a/lib/libc/tests/ssp/Makefile b/lib/libc/tests/ssp/Makefile index c6f850ec1a33..22f48d7dfe54 100644 --- a/lib/libc/tests/ssp/Makefile +++ b/lib/libc/tests/ssp/Makefile @@ -10,6 +10,7 @@ CFLAGS.h_raw+= -fstack-protector-all -Wstack-protector # override the sanitizer runtime libraries to be the ones installed on the # target system. CFLAGS.h_raw+= -fsanitize=bounds +LIBADD+=sys .elif ${COMPILER_TYPE} == "gcc" CFLAGS.h_raw+= --param ssp-buffer-size=1 LDADD+= -lssp |