genode/libports/lib/mk/gmp.inc
Stefan Kalkowski 337bb6d5f8 Build gmp and mpfr libary on x86_32 only (fix #135)
By now the gmp-library works builds on x86/32bit only. The mpfr library
depends on gmp, so make both library dependent on the corresponding platform
variables. Look at the discussion of issue #135.
2012-05-29 13:55:00 +02:00

17 lines
314 B
PHP

GMP_DIR = $(REP_DIR)/contrib/gmp-4.3.2
ifeq ($(wildcard $(GMP_DIR)),)
REQUIRES += prepare_gmp
endif
# gmp depends on gmp-mpn which requires 32bit by now
REQUIRES = x86_32
include $(REP_DIR)/lib/import/import-gmp.mk
LIBS += libc
CC_OPT += -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP
INC_DIR += $(REP_DIR)/include/gcc