# HG changeset patch
# User Tassilo Philipp
# Date 1662245396 -7200
# Node ID fe31a2e3ac90d865f741b7b13b22c708c99aa6b3
# Parent  fcb9d00b5a00abab7365974dcc9e61e9fbea8238
./configure output for sun make builds: set correct C++ compiler flag var

diff -r fcb9d00b5a00 -r fe31a2e3ac90 ChangeLog
--- a/ChangeLog	Sun Sep 04 00:20:24 2022 +0200
+++ b/ChangeLog	Sun Sep 04 00:49:56 2022 +0200
@@ -32,6 +32,8 @@
   o callback_plain_c++: new test, focusing on methods and non-trivial C++ aggregates
   o simplifications and major refactoring to share more code (especially
     signature and case generator) across test suites
+buildsys:
+  o ./configure output for sun make builds: set correct C++ compiler flag var
 doc:
   o callconv section additions about aggregate-by-value passing for all platforms
   o new Linux-Std-Base-specific PPC32/SysV section, as aggregate retval handling differs from
diff -r fcb9d00b5a00 -r fe31a2e3ac90 configure
--- a/configure	Sun Sep 04 00:20:24 2022 +0200
+++ b/configure	Sun Sep 04 00:49:56 2022 +0200
@@ -180,7 +180,8 @@
     # open distributions often don't come with default cc and CC, check for common alternatives.
     printf "CC=` (which cc gcc clang  ) | grep -v '^no ' | head -1`\n" >>$C
     printf "CXX=`(which CC g++ clang++) | grep -v '^no ' | head -1`\n" >>$C # C++ compiler traditionally named CC
-    printf "CCC=\${CXX}\n" >>$C # Sun make's rules use CCC for c++ compiler
+    printf "CCC=\${CXX}\n" >>$C          # Sun make's rules use CCC for c++ compiler
+    printf "CCFLAGS=\${CXXFLAGS}\n" >>$C # Sun make's rules use CCFLAGS for c++ compiler flags
     printf "LDLIBS=-lm -ldl\n" >>$C
     ;;
   Minix)