Skip to content
Snippets Groups Projects
Commit 96bea77d authored by Fons Rademakers's avatar Fons Rademakers
Browse files

when configuring using --build=c++11 on Linux/gcc make sure that

-Wno-deprecated-declarations is set to silence warnings on auto_ptr
being deprecated.


git-svn-id: http://root.cern.ch/svn/root/trunk@44364 27541ba8-7e3a-0410-8455-c3a389f83636
parent c75dc611
No related branches found
No related tags found
No related merge requests found
......@@ -447,7 +447,7 @@ freebsd* | openbsd* | linux*)
fi
done
if echo $configargs | grep 'c++11' > /dev/null 2>& 1 ; then
auxcflags="-std=c++11 $auxcflags"
auxcflags="-std=c++11 -Wno-deprecated-declarations $auxcflags"
fi
;;
macosx*)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment