[rtems commit] make: Add CPPFLAGS
Sebastian Huber
sebh at rtems.org
Wed Feb 13 08:47:02 UTC 2013
Module: rtems
Branch: master
Commit: f67eee134401aa00bbf9e4de7b300ef1ca6db03f
Changeset: http://git.rtems.org/rtems/commit/?id=f67eee134401aa00bbf9e4de7b300ef1ca6db03f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Feb 12 13:54:18 2013 +0100
make: Add CPPFLAGS
---
c/src/make/compilers/gcc-target-default.cfg | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/c/src/make/compilers/gcc-target-default.cfg b/c/src/make/compilers/gcc-target-default.cfg
index fac8362..5563475 100644
--- a/c/src/make/compilers/gcc-target-default.cfg
+++ b/c/src/make/compilers/gcc-target-default.cfg
@@ -56,11 +56,13 @@ CFLAGS_OPTIMIZE_V+=
CXXFLAGS_OPTIMIZE_V+=
ifndef AUTOMAKE
+CPPFLAGS_$(VARIANT)=$(CPPFLAGS_$(VARIANT)_V)
CFLAGS_$(VARIANT) =$(CFLAGS_$(VARIANT)_V)
CXXFLAGS_$(VARIANT)=$(CXXFLAGS_$(VARIANT)_V)
endif
ifndef AUTOMAKE
+CPPFLAGS += $(CPPFLAGS_OPTIMIZE) $(CPPFLAGS_DEBUG)
CFLAGS += $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG)
CXXFLAGS += $(CXXFLAGS_OPTIMIZE) $(CXXFLAGS_DEBUG)
endif
More information about the vc
mailing list