From 7359911f8f9668f3f5b34a36c5241ef0622d5300 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 15 Dec 1998 19:40:27 +0000 Subject: Patch from Ralf Corsepius : 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. --- tools/cpu/sh/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/cpu/sh/Makefile.in') 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 += -- cgit v1.2.3