diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-09-24 16:13:09 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-09-24 16:13:09 +0300 |
commit | 99df35a621aab3b4b92360bb2cab79aca53c25c6 (patch) | |
tree | 875bec0cb0dcb1b6c7db3f19bc8ba19bf2b292bd /libwpd | |
parent | a147095aee3d1b1e4ee937944cf253ab61f96da1 (diff) |
Pass --build and --host when cross-compiling
Change-Id: Ia7c7a5626f2e81de9af65897e18f7d174a6e08c7
Diffstat (limited to 'libwpd')
-rw-r--r-- | libwpd/StaticLibrary_wpd.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libwpd/StaticLibrary_wpd.mk b/libwpd/StaticLibrary_wpd.mk index b9108c5a04b0..b8784d5d50c5 100644 --- a/libwpd/StaticLibrary_wpd.mk +++ b/libwpd/StaticLibrary_wpd.mk @@ -33,6 +33,7 @@ $(call gb_ExternalProject_get_state_target,libwpd,build) : --without-stream \ --without-docs \ --disable-debug \ + $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ && $(GNUMAKE) \ && touch $@ |