summaryrefslogtreecommitdiff
path: root/src/template/freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'src/template/freebsd')
-rw-r--r--src/template/freebsd3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/template/freebsd b/src/template/freebsd
index a82d5a494c..41fa4a1aba 100644
--- a/src/template/freebsd
+++ b/src/template/freebsd
@@ -4,3 +4,6 @@
if test x"$PREFERRED_SEMAPHORES" = x"" ; then
PREFERRED_SEMAPHORES=UNNAMED_POSIX
fi
+
+# Extra CFLAGS for code that will go into a shared library
+CFLAGS_SL="-fPIC -DPIC"