diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-12-15 19:40:27 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-12-15 19:40:27 +0000 |
commit | 7359911f8f9668f3f5b34a36c5241ef0622d5300 (patch) | |
tree | 091a7e74c6f0f5dd7dcd92bdac61ed7fcb17b6d9 /tools | |
parent | Changed reference from no_cpu to mips64orion. (diff) | |
download | rtems-7359911f8f9668f3f5b34a36c5241ef0622d5300.tar.bz2 |
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
Some Makefile.ins depend on gcc by hard-coded gcc-specific compiler
flags:
-g added to CFLAGS /LDFLAGS in
> find . -name Makefile.in -exec grep -l ' \-g' {} \;
./c/src/lib/libbsp/i386/i386ex/startup/Makefile.in
./c/src/lib/libbsp/i386/pc386/tools/Makefile.in
-Wall added CFLAGS in
> find . -name Makefile.in -exec grep -l ' \-Wall' {} \;
./c/src/exec/score/tools/sh/Makefile.in
./c/src/lib/libbsp/i386/pc386/tools/Makefile.in
Both -g and -Wall should not be used in any Makefile.in (Yes, I know,
tools/sh/Makefile.in was written by me :-).
I'd like to propose to remove these flags from the files mentioned
above.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/cpu/sh/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cpu/sh/Makefile.in b/tools/cpu/sh/Makefile.in index cbda87fbd8..61cbdc988b 100644 --- a/tools/cpu/sh/Makefile.in +++ b/tools/cpu/sh/Makefile.in @@ -32,7 +32,7 @@ include $(RTEMS_ROOT)/make/leaf.cfg # Add local stuff here using += # -DEFINES += -Wall +DEFINES += CPPFLAGS += -I. CFLAGS += |