aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.flags2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.flags b/Makefile.flags
index 7d6bec8ec..8be999cb2 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -151,7 +151,7 @@ ifeq ($(CONFIG_PLATFORM_MINGW32),y)
151CFLAGS += -Iwin32 -DHAVE_STRING_H=1 -DHAVE_CONFIG_H=0 -fno-builtin-stpcpy -fno-builtin-stpncpy -fno-ident -fno-builtin-strndup 151CFLAGS += -Iwin32 -DHAVE_STRING_H=1 -DHAVE_CONFIG_H=0 -fno-builtin-stpcpy -fno-builtin-stpncpy -fno-ident -fno-builtin-strndup
152# this seems to be necessary for setjmp/longjmp to work with clang 152# this seems to be necessary for setjmp/longjmp to work with clang
153ifeq ($(lastword $(subst -, ,$(CC))),clang) 153ifeq ($(lastword $(subst -, ,$(CC))),clang)
154CFLAGS += $(call cc-option,-fexceptions,) 154CFLAGS += $(call cc-option,-fsjlj-exceptions,)
155endif 155endif
156 156
157EXEEXT = .exe 157EXEEXT = .exe