diff options
Diffstat (limited to 'src/gcc.mk')
-rw-r--r-- | src/gcc.mk | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -143,3 +143,10 @@ endef $(PKG)_BUILD_x86_64-w64-mingw32 = $(subst mxe-config-opts,--disable-lib32,$($(PKG)_BUILD_mingw-w64)) $(PKG)_BUILD_i686-w64-mingw32 = $(subst mxe-config-opts,--disable-lib64,$($(PKG)_BUILD_mingw-w64)) + +define $(PKG)_BUILD_$(BUILD) + for f in c++ cpp g++ gcov; do \ + ln -sf "`which $$f`" '$(PREFIX)/bin/$(TARGET)'-$$f ; \ + done + $($(PKG)_POST_BUILD) +endef |