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.
This commit is contained in:
Joel Sherrill
1998-12-15 19:40:27 +00:00
parent 2417b15a0e
commit 7359911f8f
4 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ include $(RTEMS_ROOT)/make/leaf.cfg
# Add local stuff here using +=
#
DEFINES += -Wall
DEFINES +=
CPPFLAGS += -I.
CFLAGS +=

View File

@@ -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 +=

View File

@@ -46,7 +46,7 @@ include $(RTEMS_ROOT)/make/leaf.cfg
DEFINES +=
CPPFLAGS +=
CFLAGS += -g -Wall
CFLAGS +=
CXXFLAGS +=
LD_PATHS +=

View File

@@ -32,7 +32,7 @@ include $(RTEMS_ROOT)/make/leaf.cfg
# Add local stuff here using +=
#
DEFINES += -Wall
DEFINES +=
CPPFLAGS += -I.
CFLAGS +=