r1435 - in trunk: packages/binutils/vars packages/gcc packages/gcc/vars vars

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri Mar 3 17:11:20 PST 2006


Author: jhuntwork
Date: 2006-03-03 18:11:19 -0700 (Fri, 03 Mar 2006)
New Revision: 1435

Modified:
   trunk/packages/binutils/vars/vars.sparc64
   trunk/packages/gcc/Makefile
   trunk/packages/gcc/vars/vars.sparc64
   trunk/vars/vars.sparc64
Log:
Fix cross-tools section for sparc64

Modified: trunk/packages/binutils/vars/vars.sparc64
===================================================================
--- trunk/packages/binutils/vars/vars.sparc64	2006-03-04 01:10:23 UTC (rev 1434)
+++ trunk/packages/binutils/vars/vars.sparc64	2006-03-04 01:11:19 UTC (rev 1435)
@@ -7,3 +7,4 @@
 SHA-$(PATCH31)= 801e459c49aa2046143f68c51e39c8d6d648e011
 
 PATCHES=$(PATCH30) $(PATCH31) $(PATCH40) $(PATCH41)
+ENABLE-64-BIT-BFD=--enable-64-bit-bfd

Modified: trunk/packages/gcc/Makefile
===================================================================
--- trunk/packages/gcc/Makefile	2006-03-04 01:10:23 UTC (rev 1434)
+++ trunk/packages/gcc/Makefile	2006-03-04 01:11:19 UTC (rev 1435)
@@ -42,7 +42,7 @@
 	../$(DIR)/configure --prefix=$(CROSS_WD) --host=$(LFS_HOST) \
 	 --target=$(LFS_TARGET) --with-local-prefix=$(WD) --disable-nls \
 	 --disable-shared --disable-threads --enable-languages=c 
-	make $(PM) all-gcc
+	make $(CFLAGS_FOR_TARGET) $(PM) all-gcc
 	make install-gcc
 
 cross: $(FILE) $(PATCH1) $(PATCH40) $(PATCH41)

Modified: trunk/packages/gcc/vars/vars.sparc64
===================================================================
--- trunk/packages/gcc/vars/vars.sparc64	2006-03-04 01:10:23 UTC (rev 1434)
+++ trunk/packages/gcc/vars/vars.sparc64	2006-03-04 01:11:19 UTC (rev 1435)
@@ -1 +1,2 @@
 STARTFILE_PREFIX_SPEC_HEADERS= gcc/config/linux.h gcc/config/linux64.h
+CFLAGS_FOR_TARGET= CFLAGS_FOR_TARGET="$(GCCTARGET)"

Modified: trunk/vars/vars.sparc64
===================================================================
--- trunk/vars/vars.sparc64	2006-03-04 01:10:23 UTC (rev 1434)
+++ trunk/vars/vars.sparc64	2006-03-04 01:11:19 UTC (rev 1435)
@@ -4,6 +4,7 @@
 export CROSS_WD := /cross-tools
 export 32FLAGS := -m32 -mcpu=ultrasparc -mtune=ultrasparc
 export 64FLAGS := -m64 -mcpu=ultrasparc -mtune=ultrasparc
+export GCCTARGET := -mcpu=ultrasparc -mtune=ultrasparc
 export CFLAGS := -Os -s
 export LIB_MAYBE64 := lib64
 export LFS_HOST ?= sparc64-cross-linux-gnu




More information about the livecd mailing list