Kaydet (Commit) 4acf8644 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Cross-compilation support and iOS in particular

üst b0a85a11
...@@ -51,7 +51,11 @@ CONFIGURE_DIR=$(BUILD_DIR) ...@@ -51,7 +51,11 @@ CONFIGURE_DIR=$(BUILD_DIR)
#relative to CONFIGURE_DIR #relative to CONFIGURE_DIR
# still needed also in system-hyphen case as it creates the makefile # still needed also in system-hyphen case as it creates the makefile
CONFIGURE_ACTION=configure CONFIGURE_ACTION=configure
CONFIGURE_FLAGS= --disable-shared --with-pic CONFIGURE_FLAGS=--disable-shared
.IF "$(OS)"!="IOS"
CONFIGURE_FLAGS+= --with-pic
.ENDIF
.IF "$(COM)"=="C52" && "$(CPU)"=="U" .IF "$(COM)"=="C52" && "$(CPU)"=="U"
LCL_CONFIGURE_CFLAGS+=-m64 LCL_CONFIGURE_CFLAGS+=-m64
...@@ -82,7 +86,6 @@ OUT2INC += hyphen.h ...@@ -82,7 +86,6 @@ OUT2INC += hyphen.h
.ENDIF # "$(GUI)"=="UNX" .ENDIF # "$(GUI)"=="UNX"
.IF "$(GUI)"=="WNT" .IF "$(GUI)"=="WNT"
.IF "$(COM)"=="GCC" .IF "$(COM)"=="GCC"
CONFIGURE_ACTION=configure CONFIGURE_ACTION=configure
...@@ -101,6 +104,10 @@ BUILD_ACTION=dmake ...@@ -101,6 +104,10 @@ BUILD_ACTION=dmake
OUT2INC += hyphen.h OUT2INC += hyphen.h
.ENDIF # "$(GUI)"=="OS2" .ENDIF # "$(GUI)"=="OS2"
.IF "$(CROSS_COMPILING)"!=""
CONFIGURE_FLAGS+= --build="$(BUILD_PLATFORM)" --host="$(HOST_PLATFORM)"
.ENDIF
# --- Targets ------------------------------------------------------ # --- Targets ------------------------------------------------------
.INCLUDE : set_ext.mk .INCLUDE : set_ext.mk
......
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