[Pkg-electronics-commits] [gnucap] 44/49: pass CPPFLAGS to the compiler

felix salfelder felix-guest at moszumanska.debian.org
Tue Feb 2 21:40:00 UTC 2016


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch wip
in repository gnucap.

commit 227ed8a63fc5dbcfcecf9a2b39a635720e7c0aee
Author: Felix Salfelder <felix at salfelder.org>
Date:   Sun Jan 31 07:30:59 2016 +0100

    pass CPPFLAGS to the compiler
    
    this way, i have to figure out considerably less, in order to pass
    CPPFLAGS. (this is standard).
---
 apps/configure     | 4 ++--
 lib/configure      | 4 ++--
 main/configure     | 4 ++--
 modelgen/configure | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/apps/configure b/apps/configure
index e622f63..db5a370 100755
--- a/apps/configure
+++ b/apps/configure
@@ -42,11 +42,11 @@ LDFLAGS = -shared
 
 .SUFFIXES:
 .SUFFIXES: .o .cc
-.cc.o:; \$(CCC) \$(CCFLAGS) -c \$<
+.cc.o:; \$(CCC) \$(CPPFLAGS) \$(CCFLAGS) -c \$<
 #------------------------------------------------------------------------
 \$(TARGET)\$(TARGET_EXT): \$(TARGET_DEPENDS)
 	rm -f \$@
-	\$(CCC) \$(CCFLAGS) \$(OBJS) \$(LIBS) \$(LDFLAGS) -o \$@
+	\$(CCC) \$(CPPFLAGS) \$(CCFLAGS) \$(OBJS) \$(LIBS) \$(LDFLAGS) -o \$@
 #------------------------------------------------------------------------
 CAT_EOF
 
diff --git a/lib/configure b/lib/configure
index f99b804..ee8b72a 100755
--- a/lib/configure
+++ b/lib/configure
@@ -53,11 +53,11 @@ LDFLAGS = -shared
 
 .SUFFIXES:
 .SUFFIXES: .o .cc
-.cc.o:; \$(CCC) \$(CCFLAGS) -c \$<
+.cc.o:; \$(CCC) \$(CPPFLAGS) \$(CCFLAGS) -c \$<
 #------------------------------------------------------------------------
 \$(TARGET)\$(TARGET_EXT): \$(TARGET_DEPENDS)
 	rm -f \$@
-	\$(CCC) \$(CCFLAGS) \$(OBJS) \$(LIBS) \$(LDFLAGS) -o \$@
+	\$(CCC) \$(CPPFLAGS) \$(CCFLAGS) \$(OBJS) \$(LIBS) \$(LDFLAGS) -o \$@
 #------------------------------------------------------------------------
 CAT_EOF
 
diff --git a/main/configure b/main/configure
index 52ca1d5..11ab2c3 100755
--- a/main/configure
+++ b/main/configure
@@ -43,11 +43,11 @@ LDFLAGS = -rdynamic \
 -L../../lib/O
 
 .SUFFIXES : .o .cc
-.cc.o:; \$(CCC) \$(CCFLAGS) -c \$<
+.cc.o:; \$(CCC) $\(CPPFLAGS) \$(CCFLAGS) -c \$<
 #------------------------------------------------------------------------
 \$(TARGET): \$(OBJS)
 	rm -f \$@
-	\$(CCC) \$(CCFLAGS) \$(OBJS) -o \$@ \$(LIBS) \$(LDFLAGS)
+	\$(CCC) \$(CPPFLAGS) \$(CCFLAGS) \$(OBJS) -o \$@ \$(LIBS) \$(LDFLAGS)
 #------------------------------------------------------------------------
 CAT_EOF
 
diff --git a/modelgen/configure b/modelgen/configure
index 53f1885..c00872a 100755
--- a/modelgen/configure
+++ b/modelgen/configure
@@ -43,11 +43,11 @@ LDFLAGS = -rdynamic \
 -L../../lib/O
 
 .SUFFIXES : .o .cc
-.cc.o:; \$(CCC) \$(CCFLAGS) -c \$<
+.cc.o:; \$(CCC) \$(CPPFLAGS) \$(CCFLAGS) -c \$<
 #------------------------------------------------------------------------
 \$(TARGET): \$(OBJS)
 	rm -f \$@
-	\$(CCC) \$(CCFLAGS) \$(OBJS) -o \$@ \$(LIBS) \$(LDFLAGS)
+	\$(CCC) \$(CPPFLAGS) \$(CCFLAGS) \$(OBJS) -o \$@ \$(LIBS) \$(LDFLAGS)
 #------------------------------------------------------------------------
 CAT_EOF
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/gnucap.git



More information about the Pkg-electronics-commits mailing list