diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-08-27 17:24:06 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-08-27 17:24:06 (GMT) |
commit | 07cdf41da18dc1453a18cf879874ea4b115c030f (patch) | |
tree | ae99f5a98b4810999c4f938bdb70615bbe3813d2 /src/gcc.mk | |
parent | 76a176ba178d72440fb6504bcf89f5129a7808ed (diff) | |
download | mxe-07cdf41da18dc1453a18cf879874ea4b115c030f.zip mxe-07cdf41da18dc1453a18cf879874ea4b115c030f.tar.gz mxe-07cdf41da18dc1453a18cf879874ea4b115c030f.tar.bz2 |
packages binutils dbus gcc gettext libiconv: enable/disable native builds
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 |