[Lunar-commits] r18469 - moonbase/trunk/archive/bzip2

Auke Kok sofar at lunar-linux.org
Wed Feb 1 22:42:16 UTC 2006


Author: sofar
Date: 2006-02-01 22:42:13 +0000 (Wed, 01 Feb 2006)
New Revision: 18469

Modified:
   moonbase/trunk/archive/bzip2/BUILD
Log:
This sedit was broken and inactive. Also -fPIC is *required* to make it work on x86_64. Tested on i686/2.6 and x86_64/2.6.


Modified: moonbase/trunk/archive/bzip2/BUILD
===================================================================
--- moonbase/trunk/archive/bzip2/BUILD	2006-02-01 22:36:59 UTC (rev 18468)
+++ moonbase/trunk/archive/bzip2/BUILD	2006-02-01 22:42:13 UTC (rev 18469)
@@ -2,7 +2,7 @@
 
   patch_it $SOURCE_CACHE/$SOURCE2 1  &&
 
-  sedit "s/-O2/$CFLAGS/" Makefile  &&
+  sedit "s/^CFLAGS=.*$/CFLAGS=$CFLAGS -fPIC/" Makefile  &&
   sedit "s/ln/ln -f/" Makefile     &&
   sedit "s/\$(PREFIX)\/man/\$(PREFIX)\/share\/man/g" Makefile  &&
 



More information about the Lunar-commits mailing list