Message ID | 87y39xjjem.fsf@oldenburg.str.redhat.com |
---|---|
State | New |
Headers | show |
Series | malloc: Compile with -fno-strict-aliasing | expand |
diff --git a/malloc/Makefile b/malloc/Makefile index 7d54bad866..a8cca0a4d6 100644 --- a/malloc/Makefile +++ b/malloc/Makefile @@ -171,6 +171,9 @@ include ../Rules CFLAGS-mcheck-init.c += $(PIC-ccflag) CFLAGS-obstack.c += $(uses-callbacks) +# malloc.c contains many aliasing violations. +CFLAGS-malloc.c += -fno-strict-aliasing + $(objpfx)libmcheck.a: $(objpfx)mcheck-init.o -rm -f $@ $(patsubst %/,cd % &&,$(objpfx)) \