summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index de5657f..f8828b1 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -799,7 +799,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
;;
FreeBSD-*)
# FreeBSD 3.* and greater have ELF.
- SHLIB_CFLAGS="-fpic"
+ SHLIB_CFLAGS="-fPIC"
SHLIB_LD="ld -Bshareable -x"
SHLIB_LD_LIBS=""
SHLIB_SUFFIX=".so"
@@ -836,7 +836,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
;;
OSF1-1.*)
# OSF/1 1.3 from OSF using ELF, and derivatives, including AD2
- SHLIB_CFLAGS="-fpic"
+ SHLIB_CFLAGS="-fPIC"
SHLIB_LD="ld -shared"
SHLIB_LD_LIBS=""
SHLIB_SUFFIX=".so"
@@ -886,7 +886,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
# this test works, since "uname -s" was non-standard in 3.2.4 and
# below.
if test "$using_gcc" = "yes" ; then
- SHLIB_CFLAGS="-fpic -melf"
+ SHLIB_CFLAGS="-fPIC -melf"
LDFLAGS="-melf -Wl,-Bexport"
else
SHLIB_CFLAGS="-Kpic -belf"