-
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 x86_64-pc-linux-gnu-g++: error: unrecognized command-line option ‘-stdlib=libstdc++’ #808
Comments
|
I have a very similar issue while installing gnome-light on a new AMD Ryzen notebook. Most packages built sucessfully, but now webkitgtk fails. Note, I have set clang use flag globally, but have not installed clang packages manually. Issue report is:
Google tells us, that ‘-stdlib=libstdc++’ is a clang option, but we are using gcc 11.3. |
As Skyblueborb said, commenting out that option fixed it. But modifying the original file is ugly, and I have no idea why that option exists so that gcc can pick it.
|
My OS:
Linux version 5.10.83-g1 (root@localhost) (gcc (Gentoo Hardened 11.2.0 p1) 11.2.0, GNU ld (Gentoo 2.37_p1 p0) 2.37) #1 SMP PREEMPT Wed Dec 1 23:08:57 CET 2021
clang.conf options:
* /etc/portage/package.cflags/clang.conf -> net-libs/webkit-gtk: CXXFLAGS+=-stdlib=libstdc++ # error: use of undeclared identifier 'LC_ALL'
is incompatible with GCC-11.2.0.
Error:
Cheers
The text was updated successfully, but these errors were encountered: