Tell the compiler we don't check errno when calling math.h functions (work around a C stdlib design flaw)
This commit is contained in:
parent
f4367ad55d
commit
05e8039b7f
2
Makefile
2
Makefile
@ -114,7 +114,7 @@ debug:
|
||||
|
||||
lib/libcitro3d.a : lib release $(SOURCES) $(INCLUDES)
|
||||
@$(MAKE) BUILD=release OUTPUT=$(CURDIR)/$@ \
|
||||
BUILD_CFLAGS="-DNDEBUG=1 -O2 -fomit-frame-pointer" \
|
||||
BUILD_CFLAGS="-DNDEBUG=1 -O2 -fomit-frame-pointer -fno-math-errno" \
|
||||
DEPSDIR=$(CURDIR)/release \
|
||||
--no-print-directory -C release \
|
||||
-f $(CURDIR)/Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user