-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webkit-gtk, unrecognized command-line option ‘-stdlib=libstdc++’ #844
Comments
I have the same error, this fixes it |
And again, when installing emerge -pv webkit-gtk, net-libs/webkit-gtk-2.38.2:4/37::gentoo The C++ compiler
"/usr/bin/x86_64-pc-linux-gnu-g++"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /var/tmp/portage/net-libs/webkit-gtk-2.38.2/work/webkitgtk-2.38.2_build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_61634 && [1/2] Building CXX object CMakeFiles/cmTC_61634.dir/testCXXCompiler.cxx.o
FAILED: CMakeFiles/cmTC_61634.dir/testCXXCompiler.cxx.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -march=native -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fuse-linker-plugin -fomit-frame-pointer -pipe -stdlib=libstdc++ -Wl,-O1 -Wl,--as-needed -fuse-ld=mold -o CMakeFiles/cmTC_61634.dir/testCXXCompiler.cxx.o -c /var/tmp/portage/net-libs/webkit-gtk-2.38.2/work/webkitgtk-2.38.2_build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
x86_64-pc-linux-gnu-g++: error: unrecognized command-line option ‘-stdlib=libstdc++’
ninja: build stopped: subcommand failed. Something has updated clang.conf in
back to
|
You can make a file named like Just to mention the other issue and pull request, not sure of a better way to do this. |
Good idea, thanks. |
I got this error already on a fresh install one week ago, and now again.
It was reported already long time ago, #808
I have no idea why the clang option is enabled for gcc. And what makes it really ugly is, that we have to touch the original files to fix it,
which then makes it difficult to update the original package.
The text was updated successfully, but these errors were encountered: