Skip to content

Commit f7a18b5

Browse files
committed
Add -fno-builtin to the tests as well.
1 parent 4a1b310 commit f7a18b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ all: test-double test-float # test-double-system test-float-system
1212
bench: bench-syslibm bench-openlibm
1313

1414
test-double: test-double.c libm-test.c
15-
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_add_TARGET_$(ARCH)) $(LDFLAGS) $@.c -D__BSD_VISIBLE -I ../include -I../src $(OPENLIBM_LIB) -o $@
15+
$(CC) $(CPPFLAGS) $(CFLAGS) -fno-builtin $(CFLAGS_add_TARGET_$(ARCH)) $(LDFLAGS) $@.c -D__BSD_VISIBLE -I ../include -I../src $(OPENLIBM_LIB) -o $@
1616

1717
test-float: test-float.c libm-test.c
18-
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_add_TARGET_$(ARCH)) $(LDFLAGS) $@.c -D__BSD_VISIBLE -I ../include -I../src $(OPENLIBM_LIB) -o $@
18+
$(CC) $(CPPFLAGS) $(CFLAGS) -fno-builtin $(CFLAGS_add_TARGET_$(ARCH)) $(LDFLAGS) $@.c -D__BSD_VISIBLE -I ../include -I../src $(OPENLIBM_LIB) -o $@
1919

2020
test-double-system: test-double.c libm-test.c
2121
$(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_add_TARGET_$(ARCH)) $(LDFLAGS) $< -DSYS_MATH_H -lm -o $@

0 commit comments

Comments
 (0)