From 1877ea16ca0714abd715d6ce0aa1b840c3850241 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 31 Jul 2009 07:26:36 -0700 Subject: Fix obstack* on i?86 obstack calls several callbacks, so on i?86 it'd better be compiled without -mpreferred-stack-boundary=2, otherwise the callbacks are called with misaligned stack. --- malloc/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'malloc/Makefile') diff --git a/malloc/Makefile b/malloc/Makefile index 1099335fff..e7ec1abf93 100644 --- a/malloc/Makefile +++ b/malloc/Makefile @@ -104,6 +104,7 @@ $(objpfx)memusagestat: $(memusagestat-modules:%=$(objpfx)%.o) include ../Rules CFLAGS-mcheck-init.c = $(PIC-ccflag) +CFLAGS-obstack.c = $(uses-callbacks) $(objpfx)libmcheck.a: $(objpfx)mcheck-init.o -rm -f $@ -- cgit 1.4.1