BUG: pass flags to compiler during configure
This commit is contained in:
parent
1b9a530ef4
commit
5bd5e6553b
4
Templates/configure
vendored
4
Templates/configure
vendored
@ -2941,7 +2941,7 @@ echo "configure:2939: checking ansi standard C++ stream headers " >&5
|
|||||||
cat > conftest.cc <<!
|
cat > conftest.cc <<!
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
!
|
!
|
||||||
if test -z "`${CXX} -c conftest.cc 2>&1`"; then
|
if test -z "`${CXX} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
|
||||||
echo "$ac_t""yes" 1>&6
|
echo "$ac_t""yes" 1>&6
|
||||||
else
|
else
|
||||||
CMAKE_NO_STD_NAMESPACE="1"
|
CMAKE_NO_STD_NAMESPACE="1"
|
||||||
@ -2960,7 +2960,7 @@ echo "configure:2958: checking ansi standard namespace support " >&5
|
|||||||
#include <list>
|
#include <list>
|
||||||
void foo() { std::list<int> l; }
|
void foo() { std::list<int> l; }
|
||||||
!
|
!
|
||||||
if test -z "`${CXX} -c conftest.cc 2>&1`"; then
|
if test -z "`${CXX} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
|
||||||
echo "$ac_t""yes" 1>&6
|
echo "$ac_t""yes" 1>&6
|
||||||
else
|
else
|
||||||
CMAKE_NO_ANSI_STREAM_HEADERS="1"
|
CMAKE_NO_ANSI_STREAM_HEADERS="1"
|
||||||
|
@ -517,7 +517,7 @@ if test $ac_cv_prog_gxx = no; then
|
|||||||
cat > conftest.cc <<!
|
cat > conftest.cc <<!
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
!
|
!
|
||||||
if test -z "`${CXX} -c conftest.cc 2>&1`"; then
|
if test -z "`${CXX} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
|
||||||
echo "$ac_t""yes" 1>&6
|
echo "$ac_t""yes" 1>&6
|
||||||
else
|
else
|
||||||
CMAKE_NO_STD_NAMESPACE="1"
|
CMAKE_NO_STD_NAMESPACE="1"
|
||||||
@ -535,7 +535,7 @@ if test $ac_cv_prog_gxx = no; then
|
|||||||
#include <list>
|
#include <list>
|
||||||
void foo() { std::list<int> l; }
|
void foo() { std::list<int> l; }
|
||||||
!
|
!
|
||||||
if test -z "`${CXX} -c conftest.cc 2>&1`"; then
|
if test -z "`${CXX} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
|
||||||
echo "$ac_t""yes" 1>&6
|
echo "$ac_t""yes" 1>&6
|
||||||
else
|
else
|
||||||
CMAKE_NO_ANSI_STREAM_HEADERS="1"
|
CMAKE_NO_ANSI_STREAM_HEADERS="1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user