CONFIG: add trapping-math for darwin

This commit is contained in:
Bernhard Gschaider 2018-07-30 12:18:40 +02:00 committed by Mark Olesen
parent ef52e11d2c
commit dd775c6e68
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
SUFFIXES += .c
cc = clang -m64 -Ddarwin
cc = clang -m64 -Ddarwin -ftrapping-math
cWARN = -Wall

View File

@ -1,6 +1,6 @@
include $(GENERAL_RULES)/Clang/c++
CC = clang++ -std=c++11 -m64 -Ddarwin
CC = clang++ -std=c++11 -m64 -Ddarwin -ftrapping-math
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)