summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/binutils.mk2
-rw-r--r--src/dbus.mk1
-rw-r--r--src/gcc.mk7
-rw-r--r--src/gettext.mk8
-rw-r--r--src/libiconv.mk8
5 files changed, 26 insertions, 0 deletions
diff --git a/src/binutils.mk b/src/binutils.mk
index 293fc1b..32bd668 100644
--- a/src/binutils.mk
+++ b/src/binutils.mk
@@ -41,3 +41,5 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
endef
+
+$(PKG)_BUILD_$(BUILD) :=
diff --git a/src/dbus.mk b/src/dbus.mk
index ff256ea..d573996 100644
--- a/src/dbus.mk
+++ b/src/dbus.mk
@@ -30,6 +30,7 @@ define $(PKG)_BUILD
--disable-maintainer-mode \
--enable-static \
--disable-silent-rules \
+ --disable-launchd \
CFLAGS='-DPROCESS_QUERY_LIMITED_INFORMATION=0x1000'
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef
diff --git a/src/gcc.mk b/src/gcc.mk
index 4d68e55..2942246 100644
--- a/src/gcc.mk
+++ b/src/gcc.mk
@@ -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
diff --git a/src/gettext.mk b/src/gettext.mk
index f21b37b..1211d79 100644
--- a/src/gettext.mk
+++ b/src/gettext.mk
@@ -17,6 +17,14 @@ define $(PKG)_UPDATE
head -1
endef
+define $(PKG)_BUILD_$(BUILD)
+ mkdir '$(1).build'
+ cd '$(1).build' && '$(1)/configure' \
+ --prefix='$(PREFIX)/$(TARGET)'
+ $(MAKE) -C '$(1).build' -j '$(JOBS)'
+ $(MAKE) -C '$(1).build' -j 1 install
+endef
+
define $(PKG)_BUILD
cd '$(1)/gettext-runtime' && ./configure \
--host='$(TARGET)' \
diff --git a/src/libiconv.mk b/src/libiconv.mk
index 1ac605c..0acec57 100644
--- a/src/libiconv.mk
+++ b/src/libiconv.mk
@@ -17,6 +17,14 @@ define $(PKG)_UPDATE
head -1
endef
+define $(PKG)_BUILD_$(BUILD)
+ mkdir '$(1).build'
+ cd '$(1).build' && '$(1)/configure' \
+ --prefix='$(PREFIX)/$(TARGET)'
+ $(MAKE) -C '$(1).build' -j '$(JOBS)'
+ $(MAKE) -C '$(1).build' -j 1 install
+endef
+
define $(PKG)_BUILD
$(SED) -i 's, sed , $(SED) ,g' '$(1)/windows/windres-options'
cd '$(1)' && ./configure \