]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Tweaks regarding cvsuser.so.
authorBruno Haible <bruno@clisp.org>
Sun, 27 Sep 2009 20:57:24 +0000 (22:57 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 27 Sep 2009 20:57:24 +0000 (22:57 +0200)
gettext-tools/misc/ChangeLog
gettext-tools/misc/add-to-archive

index 0f766b81dc4451a90dacb207efd2f653b0ec3828..ee8e00fca7e3e0e3fe387713688cb1602fb1724b 100644 (file)
@@ -1,3 +1,7 @@
+2009-09-27  Bruno Haible  <bruno@clisp.org>
+
+       * add-to-archive: Pass option -fPIC to gcc. Clean up cvsuser.so.
+
 2009-09-27  Bruno Haible  <bruno@clisp.org>
 
        Support alternative to the cvs-compression of the archive.
index 01f696739fbdb03e55878f0f51547f59dc563e1a..c52dc49d48c95dedf7126ee5df2fb488333a49c0 100755 (executable)
@@ -40,7 +40,7 @@ ver=`echo "$pack_ver" | sed -e 's/^[^-]*-\(.*\)/\1/'`
 
 # Set a nonstandard variable, for a good-looking cvs history.
 cvsuser=bruno
-gcc -shared -O cvsuser.c -o cvsuser.so
+gcc -shared -fPIC -O cvsuser.c -o cvsuser.so
 cvsuser_hack=`pwd`/cvsuser.so
 
 # Unpack, build and install the source distribution.
@@ -106,6 +106,7 @@ cvsver=$pack-`echo "$ver" | sed -e 's/\./_/g'`
 # Clean up.
 rm -rf "$cvsroot"
 rm -rf "$work_dir"
+rm -f cvsuser.so
 rm -rf "$myprefix"
 
 exit 0