Author: alexander
Date: 2006-06-17 08:45:07 -0600 (Sat, 17 Jun 2006)
New Revision: 1585

Modified:
   trunk/packages/binutils/Makefile
   trunk/packages/gcc/Makefile
   trunk/packages/wget/Makefile
Log:
Fixed building from old hosts (e.g., Debian Sarge) that don't understand 
-mtune=i686


Modified: trunk/packages/binutils/Makefile
===================================================================
--- trunk/packages/binutils/Makefile    2006-06-17 13:01:10 UTC (rev 1584)
+++ trunk/packages/binutils/Makefile    2006-06-17 14:45:07 UTC (rev 1585)
@@ -20,11 +20,11 @@
 
 compile-pass1:
 # --disable-shared overrides unsuitable default from config.site
-       ../$(DIR)/configure --prefix=$(WD) --disable-nls --disable-shared
-       make $(PM)
-       make install
-       make -C ld clean
-       make -C ld LIB_PATH=$(WD)/lib
+       unset CFLAGS ; ../$(DIR)/configure --prefix=$(WD) --disable-nls 
--disable-shared
+       unset CFLAGS ; make $(PM)
+       unset CFLAGS ; make install
+       unset CFLAGS ; make -C ld clean
+       unset CFLAGS ; make -C ld LIB_PATH=$(WD)/lib
        cp -v ld/ld-new $(WD)/bin
 
 adjust-toolchain:

Modified: trunk/packages/gcc/Makefile
===================================================================
--- trunk/packages/gcc/Makefile 2006-06-17 13:01:10 UTC (rev 1584)
+++ trunk/packages/gcc/Makefile 2006-06-17 14:45:07 UTC (rev 1585)
@@ -24,11 +24,11 @@
 
 compile-pass1:
 # --enable-static overrides the unsuitable default in config.site
-       ../$(DIR)/configure --prefix=$(WD) \
+       unset CFLAGS ; ../$(DIR)/configure --prefix=$(WD) \
         --with-local-prefix=$(WD) --disable-nls --enable-shared \
         --enable-languages=c --enable-static
-       make $(PM) bootstrap
-       make install
+       unset CFLAGS ; make $(PM) bootstrap
+       unset CFLAGS ; make install
        ln -s gcc $(WD)/bin/cc
 
 pass2: $(FILE) $(PATCH1)

Modified: trunk/packages/wget/Makefile
===================================================================
--- trunk/packages/wget/Makefile        2006-06-17 13:01:10 UTC (rev 1584)
+++ trunk/packages/wget/Makefile        2006-06-17 14:45:07 UTC (rev 1585)
@@ -19,10 +19,10 @@
        $(std_build)
 
 compile-prebuild:
-       ./configure --prefix=$(WD) --libdir=$(WD)/lib --without-ssl \
+       unset CFLAGS ; ./configure --prefix=$(WD) --libdir=$(WD)/lib 
--without-ssl \
         --enable-static --disable-shared --disable-nls
-       make $(PM)
-       make install
+       unset CFLAGS ; make $(PM)
+       unset CFLAGS ; make install
 
 stage1: $(FILE)
        $(std_build)

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to