summaryrefslogtreecommitdiffstats
path: root/lib/libc/secure/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/secure/Makefile.inc')
-rw-r--r--lib/libc/secure/Makefile.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/secure/Makefile.inc b/lib/libc/secure/Makefile.inc
index 6f18bde..e2e75c7 100644
--- a/lib/libc/secure/Makefile.inc
+++ b/lib/libc/secure/Makefile.inc
@@ -5,8 +5,9 @@
.PATH: ${LIBC_SRCTOP}/secure
# Sources common to both syscall interfaces:
-SRCS+= \
- stack_protector.c \
- stack_protector_compat.c
+SRCS+= stack_protector.c
+.if ${MK_SYMVER} == yes
+SRCS+= stack_protector_compat.c
+.endif
SYM_MAPS+= ${LIBC_SRCTOP}/secure/Symbol.map
OpenPOWER on IntegriCloud