summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/mk/bsd.lib.mk2
-rw-r--r--share/mk/bsd.symver.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index a2e4f21..cf80797 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -108,7 +108,7 @@ all: objwarn
# Allow librararies to specify their own version map or have it
# automatically generated (see bsd.symver.mk above).
-.if (${MK_SYMVER} == "yes") && !empty(VERSION_MAP)
+.if ${MK_SYMVER} == "yes" && !empty(VERSION_MAP)
${SHLIB_NAME}: ${VERSION_MAP}
LDFLAGS+= -Wl,--version-script=${VERSION_MAP}
.endif
diff --git a/share/mk/bsd.symver.mk b/share/mk/bsd.symver.mk
index b3cc1d9..30a822e 100644
--- a/share/mk/bsd.symver.mk
+++ b/share/mk/bsd.symver.mk
@@ -7,7 +7,7 @@ __<bsd.symver.mk>__:
# Generate the version map given the version definitions
# and symbol maps.
-.if (${MK_SYMVER} == "yes") && !empty(VERSION_DEF) && !empty(SYMBOL_MAPS)
+.if ${MK_SYMVER} == "yes" && !empty(VERSION_DEF) && !empty(SYMBOL_MAPS)
# Find the awk script that generates the version map.
VERSION_GEN?= version_gen.awk
VERSION_MAP?= Version.map
OpenPOWER on IntegriCloud