summaryrefslogtreecommitdiffstats
path: root/gettext-tools/misc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-09-27 22:57:24 +0200
committerBruno Haible <bruno@clisp.org>2009-09-27 22:57:24 +0200
commit760c5d287975efc59704e58ed7302816cb601589 (patch)
treeb368e86a03ea2cb60bc5c92fbf44884d54f042e9 /gettext-tools/misc
parent38b8d48eba598652d8a4fcd18439a9aaf8e81ec8 (diff)
downloadexternal_gettext-760c5d287975efc59704e58ed7302816cb601589.zip
external_gettext-760c5d287975efc59704e58ed7302816cb601589.tar.gz
external_gettext-760c5d287975efc59704e58ed7302816cb601589.tar.bz2
Tweaks regarding cvsuser.so.
Diffstat (limited to 'gettext-tools/misc')
-rw-r--r--gettext-tools/misc/ChangeLog4
-rwxr-xr-xgettext-tools/misc/add-to-archive3
2 files changed, 6 insertions, 1 deletions
diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog
index 0f766b8..ee8e00f 100644
--- a/gettext-tools/misc/ChangeLog
+++ b/gettext-tools/misc/ChangeLog
@@ -1,5 +1,9 @@
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.
* convert-archive.in: New file.
* autopoint.in (func_version): Show the archive format.
diff --git a/gettext-tools/misc/add-to-archive b/gettext-tools/misc/add-to-archive
index 01f6967..c52dc49 100755
--- a/gettext-tools/misc/add-to-archive
+++ b/gettext-tools/misc/add-to-archive
@@ -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