diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-09-06 18:17:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:31 -0400 |
commit | 439c430e3d448b16112de3f3d92bef6ee2639d89 (patch) | |
tree | ff2ae6463f35fac22e2904752ddf8b0250c5a633 /arch | |
parent | bc505a478d3fffcfb269b72f64df4510305cfe81 (diff) |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm26/Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm26/Makefile b/arch/arm26/Makefile index ada8985530a5..e9cb8ef4f3fb 100644 --- a/arch/arm26/Makefile +++ b/arch/arm26/Makefile | |||
@@ -17,10 +17,6 @@ ifeq ($(CONFIG_FRAME_POINTER),y) | |||
17 | CFLAGS +=-fno-omit-frame-pointer -mno-sched-prolog | 17 | CFLAGS +=-fno-omit-frame-pointer -mno-sched-prolog |
18 | endif | 18 | endif |
19 | 19 | ||
20 | ifeq ($(CONFIG_DEBUG_INFO),y) | ||
21 | CFLAGS +=-g | ||
22 | endif | ||
23 | |||
24 | CFLAGS_BOOT :=-mapcs-26 -mcpu=arm3 -msoft-float -Uarm | 20 | CFLAGS_BOOT :=-mapcs-26 -mcpu=arm3 -msoft-float -Uarm |
25 | CFLAGS +=-mapcs-26 -mcpu=arm3 -msoft-float -Uarm | 21 | CFLAGS +=-mapcs-26 -mcpu=arm3 -msoft-float -Uarm |
26 | AFLAGS +=-mapcs-26 -mcpu=arm3 -msoft-float | 22 | AFLAGS +=-mapcs-26 -mcpu=arm3 -msoft-float |