[Pkg-electronics-commits] [gnucap] 03/08: pass CXXFLAGS to c++ compiler, as everybody does.

felix salfelder felix-guest at moszumanska.debian.org
Sat Feb 6 23:44:22 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 aedf347fef791560281ab73c77fdcdfc3c053173
Author: Felix Salfelder <felix at salfelder.org>
Date:   Wed Feb 3 22:21:12 2016 +0100

    pass CXXFLAGS to c++ compiler, as everybody does.
    
    (CCFLAGS do not cut it. these are used internally.)
---
 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 db5a370..fd795a1 100755
--- a/apps/configure
+++ b/apps/configure
@@ -42,11 +42,11 @@ LDFLAGS = -shared
 
 .SUFFIXES:
 .SUFFIXES: .o .cc
-.cc.o:; \$(CCC) \$(CPPFLAGS) \$(CCFLAGS) -c \$<
+.cc.o:; \$(CCC) \$(CXXFLAGS) \$(CPPFLAGS) \$(CCFLAGS) -c \$<
 #------------------------------------------------------------------------
 \$(TARGET)\$(TARGET_EXT): \$(TARGET_DEPENDS)
 	rm -f \$@
-	\$(CCC) \$(CPPFLAGS) \$(CCFLAGS) \$(OBJS) \$(LIBS) \$(LDFLAGS) -o \$@
+	\$(CCC) \$(CXXFLAGS) \$(CPPFLAGS) \$(CCFLAGS) \$(OBJS) \$(LIBS) \$(LDFLAGS) -o \$@
 #------------------------------------------------------------------------
 CAT_EOF
 
diff --git a/lib/configure b/lib/configure
index ee8b72a..024d270 100755
--- a/lib/configure
+++ b/lib/configure
@@ -53,11 +53,11 @@ LDFLAGS = -shared
 
 .SUFFIXES:
 .SUFFIXES: .o .cc
-.cc.o:; \$(CCC) \$(CPPFLAGS) \$(CCFLAGS) -c \$<
+.cc.o:; \$(CCC) \$(CXXFLAGS) \$(CPPFLAGS) \$(CCFLAGS) -c \$<
 #------------------------------------------------------------------------
 \$(TARGET)\$(TARGET_EXT): \$(TARGET_DEPENDS)
 	rm -f \$@
-	\$(CCC) \$(CPPFLAGS) \$(CCFLAGS) \$(OBJS) \$(LIBS) \$(LDFLAGS) -o \$@
+	\$(CCC) \$(CXXFLAGS) \$(CPPFLAGS) \$(CCFLAGS) \$(OBJS) \$(LIBS) \$(LDFLAGS) -o \$@
 #------------------------------------------------------------------------
 CAT_EOF
 
diff --git a/main/configure b/main/configure
index 17e0cee..66d6975 100755
--- a/main/configure
+++ b/main/configure
@@ -43,11 +43,11 @@ LDFLAGS = -rdynamic \
 -L../../lib/O
 
 .SUFFIXES : .o .cc
-.cc.o:; \$(CCC) \$(CPPFLAGS) \$(CCFLAGS) -c \$<
+.cc.o:; \$(CCC) \$(CXXFLAGS) \$(CPPFLAGS) \$(CCFLAGS) -c \$<
 #------------------------------------------------------------------------
 \$(TARGET): \$(OBJS)
 	rm -f \$@
-	\$(CCC) \$(CPPFLAGS) \$(CCFLAGS) \$(OBJS) -o \$@ \$(LIBS) \$(LDFLAGS)
+	\$(CCC) \$(CXXFLAGS) \$(CPPFLAGS) \$(CCFLAGS) \$(OBJS) -o \$@ \$(LIBS) \$(LDFLAGS)
 #------------------------------------------------------------------------
 CAT_EOF
 
diff --git a/modelgen/configure b/modelgen/configure
index c00872a..4ad8a4f 100755
--- a/modelgen/configure
+++ b/modelgen/configure
@@ -43,11 +43,11 @@ LDFLAGS = -rdynamic \
 -L../../lib/O
 
 .SUFFIXES : .o .cc
-.cc.o:; \$(CCC) \$(CPPFLAGS) \$(CCFLAGS) -c \$<
+.cc.o:; \$(CCC) \$(CXXFLAGS) \$(CPPFLAGS) \$(CCFLAGS) -c \$<
 #------------------------------------------------------------------------
 \$(TARGET): \$(OBJS)
 	rm -f \$@
-	\$(CCC) \$(CPPFLAGS) \$(CCFLAGS) \$(OBJS) -o \$@ \$(LIBS) \$(LDFLAGS)
+	\$(CCC) \$(CXXFLAGS) \$(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