Kaydet (Commit) 0683f53d authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Check for cross-compilation in general

Change-Id: I52cbef2ff90fa4af04c21f043c07fcd2aae8d273
üst 3d1f4649
...@@ -88,6 +88,10 @@ CONFIGURE_FLAGS += \ ...@@ -88,6 +88,10 @@ CONFIGURE_FLAGS += \
--prefix=/@.__________________________________________________$(EXTRPATH) --prefix=/@.__________________________________________________$(EXTRPATH)
.END .END
.IF "$(CROSS_COMPILING)"=="YES"
CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
.ENDIF
.IF "$(OS)$(CPU)"=="MACOSXP" .IF "$(OS)$(CPU)"=="MACOSXP"
CXXFLAGS+=-malign-natural CXXFLAGS+=-malign-natural
.EXPORT: CXXFLAGS .EXPORT: CXXFLAGS
...@@ -102,10 +106,6 @@ LDFLAGS=-Wl,--enable-runtime-pseudo-reloc-v2 ...@@ -102,10 +106,6 @@ LDFLAGS=-Wl,--enable-runtime-pseudo-reloc-v2
CONFIGURE_ACTION=./configure CONFIGURE_ACTION=./configure
CONFIGURE_FLAGS+=--without-x --enable-multithreaded --enable-exceptions LIBS=-lgdi32 CONFIGURE_FLAGS+=--without-x --enable-multithreaded --enable-exceptions LIBS=-lgdi32
.IF "$(CROSS_COMPILING)"=="YES"
CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
.ENDIF
BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS) BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS)
.ELSE .ELSE
CONFIGURE_ACTION= CONFIGURE_ACTION=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment