From ae8f6def5cd64988c8c25e48bb2d4698dab45d8a Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Wed, 2 Dec 2015 21:16:12 +1100 Subject: 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. --- src/gcc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/') -- cgit v0.12