From b8286d45be0cdaffccfe684dde7385e2c042141d Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Sat, 3 Jul 2010 20:58:22 +0000 Subject: Move -Wl,-z,defs to GLOBAL_LDOPTS (instead of GCCOPTS), to avoid noise in older gcc output when not linking git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27260 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 7 ++++++- tools/root.make | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/configure b/tools/configure index 70580db..c7185f0 100755 --- a/tools/configure +++ b/tools/configure @@ -9,7 +9,10 @@ # # global CC options for all platforms -CCOPTS="-W -Wall -Wundef -O -nostdlib -ffreestanding -Wstrict-prototypes -pipe -Wl,-z,defs" +CCOPTS="-W -Wall -Wundef -O -nostdlib -ffreestanding -Wstrict-prototypes -pipe" + +# global LD options for all platforms +GLOBAL_LDOPTS="-Wl,-z,defs" use_logf="#undef ROCKBOX_HAS_LOGF" use_bootchart="#undef DO_BOOTCHART" @@ -3097,6 +3100,7 @@ sed > Makefile \ -e "s<@GCCOPTS@<${GCCOPTS}