Mercurial > pub > dyncall > dyncall
diff configure @ 564:fe31a2e3ac90
./configure output for sun make builds: set correct C++ compiler flag var
author | Tassilo Philipp |
---|---|
date | Sun, 04 Sep 2022 00:49:56 +0200 |
parents | 09aaa2e774cd |
children | cb162d45916d |
line wrap: on
line diff
--- 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)