All pastes #1275882 Raw Edit

Miscellany

public text v1 · immutable
#1275882 ·published 2008-12-04 14:16 UTC
rendered paste body
--- Makefile.old	2008-12-04 14:05:46.000000000 +0100
+++ Makefile	2008-12-04 14:13:16.000000000 +0100
@@ -204,7 +204,13 @@
 
 define Stage2/Install
 	$(GCC_MAKE) -C $(PKG_BUILD_DIR2) install
-	mv $(TOOLCHAIN_DIR)/usr/lib/libgcc_s.* $(TOOLCHAIN_DIR)/lib/
+	ifeq ($(CONFIG_EXTRA_TARGET_ARCH_NAME),powerpc64)
+		ifeq ($(CONFIG_SOFT_FLOAT),y)
+			mv $(TOOLCHAIN_DIR)/usr/lib/nof/libgcc_s.* $(TOOLCHAIN_DIR)/lib/
+		endif
+	else
+		mv $(TOOLCHAIN_DIR)/usr/lib/libgcc_s.* $(TOOLCHAIN_DIR)/lib/
+	endif
 	# Set up the symlinks to enable lying about target name.
 	set -e; \
 	(cd $(TOOLCHAIN_DIR)/usr; \