Skip to content
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

libsigcxx: do not export "-std=c++11" via pkg-config #28149

Closed
marvin2k opened this issue Aug 11, 2017 · 1 comment
Closed

libsigcxx: do not export "-std=c++11" via pkg-config #28149

marvin2k opened this issue Aug 11, 2017 · 1 comment

Comments

@marvin2k
Copy link

marvin2k commented Aug 11, 2017

The values contained in the "Cflags" variable of a .pc file, like -std=c++11 as added in this patch, will be added to C_FLAGS by CMakes pkg-config module. gcc is happily tugging along, but clang will complain fatally:

error: invalid argument '-std=c++11' not allowed with 'C/ObjC'

so maybe skip this patch? See also gnome and debian. Note: I did not buildtest anything, just debugged my problem ;-)

@jtojnar
Copy link
Contributor

jtojnar commented Jun 5, 2019

This was fixed by 157332d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants