about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-06-17 16:16:23 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-06-17 16:16:23 +0000
commit5089075a298a8c53dc11c2942978c0dd74f70829 (patch)
tree6f6d6657c987ba6c02cd7f00bd468a398d4593fd
parent13c8e5b405411ff2368967ce8916b326c7931c5b (diff)
downloadzsh-5089075a298a8c53dc11c2942978c0dd74f70829.tar.gz
zsh-5089075a298a8c53dc11c2942978c0dd74f70829.tar.xz
zsh-5089075a298a8c53dc11c2942978c0dd74f70829.zip
Per NetBSD, use "gcc -fPIC" rather than -fpic.
-rw-r--r--ChangeLog5
-rw-r--r--zshconfig.ac2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index db54200ad..c6769cdd1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-17  Bart Schaefer  <schaefer@zsh.org>
+
+	* unposted (see users/3930,3931, cvs.netbsd.org): Use -fPIC for
+	gcc dynamic linking rather than -fpic.
+
 2001-06-16  Wayne Davison  <wayned@users.sourceforge.net>
 
 	* unposted: Src/utils.c: Revert the mkstemp() change since it was not
diff --git a/zshconfig.ac b/zshconfig.ac
index 78cc59def..549aac81e 100644
--- a/zshconfig.ac
+++ b/zshconfig.ac
@@ -1608,7 +1608,7 @@ char *argv[];
     DLLDARG=""
   fi
   if test -n "$GCC"; then
-    DLCFLAGS="${DLCFLAGS=-fpic}"
+    DLCFLAGS="${DLCFLAGS=-fPIC}"
   else
     case "$host_os" in
       hpux*)                 DLCFLAGS="${DLCFLAGS=+z}" ;;