MAC编译OpenJDK8:error: invalid argument ‘-std=gnu++98‘ not allowed with ‘C‘

这个错误要翻页才能看到。

error: invalid argument '-std=gnu++98' not allowed with 'C'
8 warnings generated.
make[6]: *** [libjsig.dylib] Error 1
make[6]: *** Waiting for unfinished jobs....

common/autoconf/generated-configure.sh

搜索这个字串,然后注释相应语句即可。

猜你喜欢

转载自blog.csdn.net/quantum7/article/details/108467447
今日推荐