summaryrefslogtreecommitdiff
path: root/make/gcc_target.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-17 12:16:29 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-17 12:16:29 +0000
commit1cde9aa1cd79d7286c16175ff145fff4322ad01d (patch)
tree2d5cd2f32feea69eecaa08200ff76f9fdb59c198 /make/gcc_target.mk
parentd8c849445d2a06f59ea2224a7a152f8842413565 (diff)
Add in /lib/cpp symlink
Diffstat (limited to 'make/gcc_target.mk')
-rw-r--r--make/gcc_target.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/gcc_target.mk b/make/gcc_target.mk
index c0362f196..06e61c014 100644
--- a/make/gcc_target.mk
+++ b/make/gcc_target.mk
@@ -270,6 +270,7 @@ $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
build_tooldir=$(TARGET_DIR)/usr/$(GNU_TARGET_NAME) \
-C $(GCC_BUILD_DIR3) install-gcc;
(cd $(TARGET_DIR)/usr/bin; ln -fs gcc cc)
+ (cd $(TARGET_DIR)/lib; ln -fs /usr/bin/cpp)
rm -rf $(TARGET_DIR)/usr/$(GNU_TARGET_NAME)/include
rm -rf $(TARGET_DIR)/usr/$(GNU_TARGET_NAME)/sys-include
rm -rf $(TARGET_DIR)/usr/include/include $(TARGET_DIR)/usr/usr