Skip to content

Commit

Permalink
Tell the compiler we don't check errno when calling math.h functions …
Browse files Browse the repository at this point in the history
…(work around a C stdlib design flaw)
  • Loading branch information
fincs committed Jul 10, 2020
1 parent f4367ad commit 05e8039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05e8039

Please sign in to comment.