From 4a4fb4cab8133a5703a3177fc08a5fdb5cf0831b Mon Sep 17 00:00:00 2001 From: praingeard Date: Fri, 14 Jun 2019 00:30:59 +0200 Subject: [PATCH] fix: gmp lib version removed --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0ce5504..9ef96ff 100644 --- a/Makefile +++ b/Makefile @@ -389,8 +389,8 @@ CONFIG_GCC = --prefix=$(PREFIX) --target=m68k-amigaos --enable-languages=c,c++,o --with-stage1-ldflags="-dynamic-libgcc -dynamic-libstdc++" --with-boot-ldflags="-dynamic-libgcc -dynamic-libstdc++" # OSX : libs added by the command brew install gmp mpfr libmpc -ifeq ($(findstring Darwin,$(shell uname)),) -CONFIG_GCC = ${CONFIG_GCC} --with-gmp="/usr/local/Cellar/gmp/6.1.2_2" --with-mpfr="/usr/local/Cellar/mpfr/4.0.2" --with-mpc="/usr/local/Cellar/libmpc/1.1.0" +ifeq (Darwin, $(findstring Darwin, $(UNAME_S))) + CONFIG_GCC += --with-gmp-include=/usr/local/include --with-gmp-lib=/usr/local/lib --with-mpfr-include=/usr/local/include --with-mpfr-lib=/usr/local/lib --with-mpfr-include=/usr/local/include --with-mpfr-lib=/usr/local/lib endif