1
0
Fork 0

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:
Charles Phillips 2016-01-25 15:38:43 -08:00
parent b12f8d4317
commit 4ecfccc5c7
1 changed files with 2 additions and 0 deletions

View File

@ -109,6 +109,8 @@ case $target in
*-*-solaris*) *-*-solaris*)
tr_SOLARIS="yes" tr_SOLARIS="yes"
CC="gcc -std=gnu99"
CXXFLAGS="-static-libstdc++ -D_GLIBCXX_USE_C99"
;; ;;
armv7l-*-linux-gnueabihf) armv7l-*-linux-gnueabihf)