mirror of https://gitee.com/bigwinds/arangodb
force solaris gcc to use correct C standards
Re: "Single worst bug for ports: lang/gcc* doesn't support c++11" https://lists.freebsd.org/pipermail/freebsd-ports/2015-March/098294.html
This commit is contained in:
parent
b12f8d4317
commit
4ecfccc5c7
|
@ -109,6 +109,8 @@ case $target in
|
|||
|
||||
*-*-solaris*)
|
||||
tr_SOLARIS="yes"
|
||||
CC="gcc -std=gnu99"
|
||||
CXXFLAGS="-static-libstdc++ -D_GLIBCXX_USE_C99"
|
||||
;;
|
||||
|
||||
armv7l-*-linux-gnueabihf)
|
||||
|
|
Loading…
Reference in New Issue