changeset 3877:65b9641f852c

build-binutils: remove native tools from HOST_PREFIX/bin (Bug 44753) * src/build-binutils.mk: for win64, remove ar as dlltool ld ld.bfd nm objcopy objdump ranlib strip from the HOST/bin folder
author John Donoghue
date Tue, 07 Apr 2015 12:20:02 -0400
parents c615fc4adb7c
children ca3fc286da3d
files src/build-binutils.mk
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/build-binutils.mk	Mon Apr 06 14:42:00 2015 -0400
+++ b/src/build-binutils.mk	Tue Apr 07 12:20:02 2015 -0400
@@ -17,6 +17,10 @@
     $(INSTALL) -d '$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)'
     mv $(addprefix $(HOST_PREFIX)/bin/, ar as dlltool ld ld.bfd nm objcopy objdump ranlib strip) '$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)'
   endef
+else
+  define $(PKG)_POST_BUILD
+    rm $(addprefix $(HOST_PREFIX)/bin/, ar as dlltool ld ld.bfd nm objcopy objdump ranlib strip)
+  endef
 endif
 endif