summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-06 16:26:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-06 16:26:53 +0000
commita5cb6730b03a2a036baba8d1630246fc59e67fda (patch)
treeb33ddd81a5d4d863efe3a20047c126b648f5c7d6 /make
parentc796ea979cc934bad0ac3796494a5e61396fa631 (diff)
downloadrtems-a5cb6730b03a2a036baba8d1630246fc59e67fda.tar.bz2
Reordered CFLAGS definition so CFLAGS_DEFAULT is before
CFLAGS_$(TARGET_VARIANTS). This makes sure that -Wall appears before any individual warnings are disabled during "debug" builds.
Diffstat (limited to 'make')
-rw-r--r--make/compilers/gcc-no_bsp.cfg3
-rw-r--r--make/compilers/gcc-portsw.cfg3
2 files changed, 2 insertions, 4 deletions
diff --git a/make/compilers/gcc-no_bsp.cfg b/make/compilers/gcc-no_bsp.cfg
index b5aa908e7f..97ce732c0e 100644
--- a/make/compilers/gcc-no_bsp.cfg
+++ b/make/compilers/gcc-no_bsp.cfg
@@ -97,8 +97,7 @@ CFLAGS_OPTIMIZE=$(CFLAGS_OPTIMIZE_V)
CFLAGS_DYNAMIC_V=-fpic
ASFLAGS_DYNAMIC_V=
-CFLAGS=$(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE) \
- $(CFLAGS_DEFAULT) \
+CFLAGS=$(CFLAGS_DEFAULT) $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE) \
-I $(PROJECT_INCLUDE)
# List of library paths without -L
diff --git a/make/compilers/gcc-portsw.cfg b/make/compilers/gcc-portsw.cfg
index 8d408a8722..fba84dc630 100644
--- a/make/compilers/gcc-portsw.cfg
+++ b/make/compilers/gcc-portsw.cfg
@@ -73,8 +73,7 @@ CFLAGS_OPTIMIZE=$(CFLAGS_OPTIMIZE_V)
CFLAGS_DYNAMIC_V=-fpic
ASFLAGS_DYNAMIC_V=
-CFLAGS=$(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE) \
- $(CFLAGS_DEFAULT)
+CFLAGS=$(CFLAGS_DEFAULT) $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE)
# List of library paths without -L
LD_PATHS= $(PROJECT_RELEASE)/lib