should pass CFLAGS to can-floor-without-libm.sh as it may depend on -O option
This commit is contained in:
parent
eb105690b5
commit
bd0b80827e
2
Makefile
2
Makefile
@ -21,7 +21,7 @@ KRKMODS = $(wildcard modules/*.krk modules/*/*.krk modules/*/*/*.krk)
|
||||
|
||||
all: ${TARGET} ${MODULES} ${TOOLS} ${GENMODS}
|
||||
|
||||
ifneq ($(shell tools/can-floor-without-libm.sh $(CC)),yes)
|
||||
ifneq ($(shell tools/can-floor-without-libm.sh "$(CC) $(CFLAGS)"),yes)
|
||||
LDLIBS += -lm
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user