genode/repos/libports/lib/mk/gmp.inc
Johannes Schlatow 5e4e634625 libs: use select_from_ports in eager assignments
If `select_from_ports` is evaluated lazily, we might miss a port during
the dependency check. A way to prevent this is to use the `:=` operator.

Fixes genodelabs/genode#4618
2022-11-17 08:00:34 +01:00

13 lines
335 B
PHP

GMP_DIR := $(call select_from_ports,gmp)/src/lib/gmp
include $(REP_DIR)/lib/import/import-gmp.mk
LIBS += libc
CC_OPT += -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP
CC_OPT += -Wno-unused-variable -Wno-unused-but-set-variable
CC_OPT += -Wno-implicit-function-declaration -Wno-unused-function
CC_OPT += -Wno-unused-value
INC_DIR += $(GMP_DIR)