mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-28 04:23:41 +01:00
enable -fno-strict-aliasing for clang (#156)
Type punning via unions in clang is not safe without -fno-strict-aliasing. See https://bugs.llvm.org//show_bug.cgi?id=31928.
This commit is contained in:
parent
c3968ca11f
commit
ddf649beab
1 changed files with 1 additions and 1 deletions
2
Make.inc
2
Make.inc
|
@ -39,7 +39,7 @@ AR = ar
|
|||
ifeq ($(USECLANG),1)
|
||||
USEGCC = 0
|
||||
CC = clang
|
||||
CFLAGS_add += -fno-builtin
|
||||
CFLAGS_add += -fno-builtin -fno-strict-aliasing
|
||||
endif
|
||||
|
||||
ifeq ($(USEGCC),1)
|
||||
|
|
Loading…
Reference in a new issue