From: Adrian Bunk Date: Tue, 6 Sep 2005 22:17:34 +0000 (-0700) Subject: [PATCH] arm26: one -g is enough for everyone X-Git-Tag: v2.6.14-rc1~676 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=439c430e3d448b16112de3f3d92bef6ee2639d89;p=linux-2.6 [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 Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/arm26/Makefile b/arch/arm26/Makefile index ada8985530..e9cb8ef4f3 100644 --- a/arch/arm26/Makefile +++ b/arch/arm26/Makefile @@ -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