diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-15 14:25:42 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-15 14:25:42 +0100 |
commit | 3c586ea3d495ffa77ab95d5cb1529ecbf208a63c (patch) | |
tree | bcd9a488454f9a739450c742ced8b2e3ada8c118 /toolchain | |
parent | c653423921e82df58aa203674fabe6fc6e157cd4 (diff) | |
parent | 0c0e05a071067aa433b3cf13bd982543d9ad7d17 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/gcc/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 951684443..26f1dc96a 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -175,11 +175,11 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled ln -sf $${app} \ $(GNU_TARGET_NAME)$${app##$(REAL_GNU_TARGET_NAME)}; \ done; - # remove duplicate tools + # remove duplicate tools, convert hardlinks to symlinks set -e; \ cd $(STAGING_HOST_DIR)/bin; \ - for app in $(REAL_GNU_TARGET_NAME)-* ; do \ - ln -sf ../$(REAL_GNU_TARGET_NAME)/bin/$${app##$(REAL_GNU_TARGET_NAME)-} $${app}; \ + for app in ar as c++ g++ gcc gcc-${PKG_VERSION} ld ld.bfd nm objcopy objdump ranlib strip; do \ + ln -sf ../$(REAL_GNU_TARGET_NAME)/bin/$${app} $(REAL_GNU_TARGET_NAME)-$${app}; \ done; # setup symlink, so that gcc/g++ find cc1plus (cd $(STAGING_HOST_DIR)/$(REAL_GNU_TARGET_NAME)/ && \ |