[PATCH] arm26: one -g is enough for everyone
The main Makefile is already adding -g to the CFLAGS if CONFIG_DEBUG_INFO=y. Not that two -g would do harm, but one works as well. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Ian Molton <spyro@f2s.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
bc505a478d
commit
439c430e3d
|
@ -17,10 +17,6 @@ ifeq ($(CONFIG_FRAME_POINTER),y)
|
|||
CFLAGS +=-fno-omit-frame-pointer -mno-sched-prolog
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_DEBUG_INFO),y)
|
||||
CFLAGS +=-g
|
||||
endif
|
||||
|
||||
CFLAGS_BOOT :=-mapcs-26 -mcpu=arm3 -msoft-float -Uarm
|
||||
CFLAGS +=-mapcs-26 -mcpu=arm3 -msoft-float -Uarm
|
||||
AFLAGS +=-mapcs-26 -mcpu=arm3 -msoft-float
|
||||
|
|
Loading…
Reference in New Issue