Use --std=c++11 to get nullptr available

This commit is contained in:
Tran Khanh Duy 2020-10-21 11:59:11 +07:00 committed by GitHub
parent e06b4ba1e1
commit 265edd2419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ cd openjdk
rm -rf build
bash ./configure \
--with-extra-cflags="$CPPFLAGS" \
--with-extra-cxxflags="$CXXFLAGS --std=c++0x" \
--with-extra-cxxflags="$CXXFLAGS --std=c++11" \
--with-extra-ldflags="$LDFLAGS" \
--enable-option-checking=fatal \
--openjdk-target=$TARGET \