components/gcc3/Makefile
changeset 991 ed62e375e805
parent 800 2ad056ed89ec
child 1058 34d7aaa03423
--- a/components/gcc3/Makefile	Wed Sep 26 16:17:36 2012 +0000
+++ b/components/gcc3/Makefile	Wed Sep 26 16:46:20 2012 -0700
@@ -50,7 +50,7 @@
 # enabling this causes libstdc++ to break
 LD_B_DIRECT=
 
-CONFIGURE_PREFIX =	/usr/sfw
+CONFIGURE_PREFIX =	/usr/gcc/3.4
 
 # we need to override CONFIGURE_OPTIONS because GCC uses a configure that
 # can't deal with CC as an argument
@@ -78,10 +78,10 @@
 
 $(PROTO_DIR)/.sedded:	$(INSTALL_32)
 	(cd $(@D) ; for file in libstdc++.la libsupc++.la ; do \
-		$(MV) usr/sfw/lib/$$file usr/sfw/lib/$$file.orig ; \
-		sed -e "s;\\(dependency_libs=\\).*;\\1' -L/usr/sfw/lib -lgcc_s -lm';" usr/sfw/lib/$$file.orig >usr/sfw/lib/$$file ; \
-		$(MV) usr/sfw/lib/$(MACH64)/$$file usr/sfw/lib/$(MACH64)/$$file.orig ; \
-		sed -e "s;\\(dependency_libs=\\).*;\\1' -L/usr/sfw/lib/$(MACH64) -lgcc_s -lm';" usr/sfw/lib/$(MACH64)/$$file.orig >usr/sfw/lib/$(MACH64)/$$file ; \
+		$(MV) usr/gcc/3.4/lib/$$file usr/gcc/3.4/lib/$$file.orig ; \
+		sed -e "s;\\(dependency_libs=\\).*;\\1' -L/usr/gcc/3.4/lib -lgcc_s -lm';" usr/gcc/3.4/lib/$$file.orig >usr/gcc/3.4/lib/$$file ; \
+		$(MV) usr/gcc/3.4/lib/$(MACH64)/$$file usr/gcc/3.4/lib/$(MACH64)/$$file.orig ; \
+		sed -e "s;\\(dependency_libs=\\).*;\\1' -L/usr/gcc/3.4/lib/$(MACH64) -lgcc_s -lm';" usr/gcc/3.4/lib/$(MACH64)/$$file.orig >usr/gcc/3.4/lib/$(MACH64)/$$file ; \
 	 done)
 	$(TOUCH) $@