diff options
Diffstat (limited to 'tools/depends/target/gmp/Makefile')
-rw-r--r-- | tools/depends/target/gmp/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/depends/target/gmp/Makefile b/tools/depends/target/gmp/Makefile index c83048c729..cf14bccec6 100644 --- a/tools/depends/target/gmp/Makefile +++ b/tools/depends/target/gmp/Makefile @@ -19,7 +19,7 @@ ifeq ($(OS),linux) endif ifeq ($(OS),ios) -CONFIGURE_FLAGS=CC_FOR_BUILD=llvm-gcc CPP_FOR_BUILD="llvm-gcc -E" --disable-assembly +CONFIGURE_FLAGS=--disable-assembly endif ifeq ($(OS),osx) CONFIGURE_FLAGS=--with-pic @@ -27,6 +27,9 @@ endif ifeq ($(OS), android) CONFIGURE_FLAGS=--with-pic endif +ifeq ($(NATIVE_OS), osx) +CONFIGURE_FLAGS+= CC_FOR_BUILD="$(CC_FOR_BUILD)" CPP_FOR_BUILD="$(CC_FOR_BUILD) -E" +endif # configuration settings CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \ |