components/gcc3/Makefile
changeset 378 f0b61ed1d10d
parent 313 e30cc0dc4e8b
child 392 59cfe0ca65fb
equal deleted inserted replaced
377:5df42c8502d2 378:f0b61ed1d10d
    69 COMPONENT_BUILD_TARGETS = bootstrap
    69 COMPONENT_BUILD_TARGETS = bootstrap
    70 
    70 
    71 # common targets
    71 # common targets
    72 build:		$(BUILD_32)
    72 build:		$(BUILD_32)
    73 
    73 
    74 install:	$(INSTALL_32)
    74 $(PROTO_DIR)/.sedded:	$(INSTALL_32)
       
    75 	(cd $(@D) ; for file in libstdc++.la libsupc++.la ; do \
       
    76 		$(MV) usr/sfw/lib/$$file usr/sfw/lib/$$file.orig ; \
       
    77 		sed -e "s;\\(dependency_libs=\\).*;\\1' -L/usr/sfw/lib -lgcc_s -lm';" usr/sfw/lib/$$file.orig >usr/sfw/lib/$$file ; \
       
    78 		$(MV) usr/sfw/lib/$(MACH64)/$$file usr/sfw/lib/$(MACH64)/$$file.orig ; \
       
    79 		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 ; \
       
    80 	 done)
       
    81 	$(TOUCH) [email protected]
       
    82 
       
    83 install:	$(PROTO_DIR)/.sedded
    75 
    84 
    76 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    85 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    77 
    86 
    78 test: $(TEST_32)
    87 test: $(TEST_32)
    79 
    88