summaryrefslogtreecommitdiffstats
path: root/lib/libkse/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libkse/Makefile')
-rw-r--r--lib/libkse/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile
index aaa055f..ccb8493 100644
--- a/lib/libkse/Makefile
+++ b/lib/libkse/Makefile
@@ -31,10 +31,13 @@ CFLAGS+=-D_LOCK_DEBUG
# however it is no longer strictly conformed to POSIX
# CFLAGS+=-DSYSTEM_SCOPE_ONLY
-LDFLAGS= -Wl,--version-script=${.CURDIR}/pthread.map
+LDFLAGS= -Wl,--version-script=${.CURDIR}/pthread.map -Wl,-zmuldefs
# enable extra internal consistancy checks
CFLAGS+=-D_PTHREADS_INVARIANTS -Wall
+.if defined(SYMVER_ENABLED)
+CFLAGS+=-DSYMBOL_VERSIONING
+.endif
PRECIOUSLIB=
OpenPOWER on IntegriCloud