summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-12-15 19:40:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-12-15 19:40:27 +0000
commit7359911f8f9668f3f5b34a36c5241ef0622d5300 (patch)
tree091a7e74c6f0f5dd7dcd92bdac61ed7fcb17b6d9
parent2417b15a0e7cdbb0968f59c3dbf516004969ab08 (diff)
downloadrtems-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.
-rw-r--r--c/src/exec/score/tools/sh/Makefile.in2
-rw-r--r--c/src/lib/libbsp/i386/i386ex/startup/Makefile.in2
-rw-r--r--c/src/lib/libbsp/i386/pc386/tools/Makefile.in2
-rw-r--r--tools/cpu/sh/Makefile.in2
4 files changed, 4 insertions, 4 deletions
diff --git a/c/src/exec/score/tools/sh/Makefile.in b/c/src/exec/score/tools/sh/Makefile.in
index cbda87fbd8..61cbdc988b 100644
--- a/c/src/exec/score/tools/sh/Makefile.in
+++ b/c/src/exec/score/tools/sh/Makefile.in
@@ -32,7 +32,7 @@ include $(RTEMS_ROOT)/make/leaf.cfg
# Add local stuff here using +=
#
-DEFINES += -Wall
+DEFINES +=
CPPFLAGS += -I.
CFLAGS +=
diff --git a/c/src/lib/libbsp/i386/i386ex/startup/Makefile.in b/c/src/lib/libbsp/i386/i386ex/startup/Makefile.in
index c16b99c71e..c70ba01bbe 100644
--- a/c/src/lib/libbsp/i386/i386ex/startup/Makefile.in
+++ b/c/src/lib/libbsp/i386/i386ex/startup/Makefile.in
@@ -38,7 +38,7 @@ include $(RTEMS_ROOT)/make/leaf.cfg
DEFINES += -I$(srcdir) -DBSP_IS_I386EX=1
CPPFLAGS +=
-CFLAGS += -g
+CFLAGS +=
LD_PATHS +=
LD_LIBS +=
diff --git a/c/src/lib/libbsp/i386/pc386/tools/Makefile.in b/c/src/lib/libbsp/i386/pc386/tools/Makefile.in
index 0924a4afca..a185d10f25 100644
--- a/c/src/lib/libbsp/i386/pc386/tools/Makefile.in
+++ b/c/src/lib/libbsp/i386/pc386/tools/Makefile.in
@@ -46,7 +46,7 @@ include $(RTEMS_ROOT)/make/leaf.cfg
DEFINES +=
CPPFLAGS +=
-CFLAGS += -g -Wall
+CFLAGS +=
CXXFLAGS +=
LD_PATHS +=
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 +=