summaryrefslogtreecommitdiffstats
path: root/src/gcc.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-12-02 10:16:12 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-12-02 10:16:12 (GMT)
commitae8f6def5cd64988c8c25e48bb2d4698dab45d8a (patch)
treeb1024016a34a6d38d96853745b8a28ce5e4c88d7 /src/gcc.mk
parentc0b12c17f894a4596db450c562c2968191917bc9 (diff)
downloadmxe-ae8f6def5cd64988c8c25e48bb2d4698dab45d8a.zip
mxe-ae8f6def5cd64988c8c25e48bb2d4698dab45d8a.tar.gz
mxe-ae8f6def5cd64988c8c25e48bb2d4698dab45d8a.tar.bz2
gcc: don't install *.dlls to version specific directory
any side-by-side installs will use targets as a higher level directory separation, we don't want to mix libs built with different versions of the compiler.
Diffstat (limited to 'src/gcc.mk')
-rw-r--r--src/gcc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gcc.mk b/src/gcc.mk
index 70923e6..40d33bf 100644
--- a/src/gcc.mk
+++ b/src/gcc.mk
@@ -56,7 +56,7 @@ define $(PKG)_POST_BUILD
# ignore rm failure as parallel build may have cleaned up, but
# don't wildcard all libs so future additions will be detected
$(and $(BUILD_SHARED),
- mv -v '$(PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/'*.dll '$(PREFIX)/$(TARGET)/bin/gcc-$($(PKG)_VERSION)/'
+ mv -v '$(PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/'*.dll '$(PREFIX)/$(TARGET)/bin/'
-rm -v '$(PREFIX)/lib/gcc/$(TARGET)/'libgcc_s*.dll
-rm -v '$(PREFIX)/lib/gcc/$(TARGET)/lib/'libgcc_s*.a
-rmdir '$(PREFIX)/lib/gcc/$(TARGET)/lib/')