diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-02 14:07:25 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-02 15:42:25 +0200 |
commit | fa65ff8b1d2f50fa7f14e92fa7bc3c5d6619831a (patch) | |
tree | ef3ed977dd512cb2581a7959778c6126c34bf763 /solenv/inc/unxgcc.mk | |
parent | a871755e673fc83c92bf9731603d22004d0a3f2e (diff) |
Check for Clang in configury and store and use result
Diffstat (limited to 'solenv/inc/unxgcc.mk')
-rw-r--r-- | solenv/inc/unxgcc.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk index 14983dd5b019..3765b2dd6cea 100644 --- a/solenv/inc/unxgcc.mk +++ b/solenv/inc/unxgcc.mk @@ -78,7 +78,10 @@ CFLAGSENABLESYMBOLS=-g # flags for the C++ Compiler CFLAGSCC= -pipe $(ARCH_FLAGS) # Flags for enabling exception handling -CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs +CFLAGSEXCEPTIONS=-fexceptions +.IF "$(COM_GCC_IS_CLANG)" != "TRUE" +CFLAGSEXCEPTIONS+=-fno-enforce-eh-specs +.ENDIF # Flags for disabling exception handling CFLAGS_NO_EXCEPTIONS=-fno-exceptions |