Skip to content

Fix CXX_FLAGS: "-stdlib=libc++" is clang-specific#12

Merged
nlohmann merged 1 commit intonlohmann:masterfrom
cbaecker:clang_cxxflags
Mar 31, 2021
Merged

Fix CXX_FLAGS: "-stdlib=libc++" is clang-specific#12
nlohmann merged 1 commit intonlohmann:masterfrom
cbaecker:clang_cxxflags

Conversation

@cbaecker
Copy link
Contributor

Resolves #11

Not sure why that flag was specified at all.
This change fixes build using gcc, without changing behaviour using clang.

Tested with clang10 + gcc9.3

Copy link
Owner

@nlohmann nlohmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@nlohmann nlohmann merged commit ece9457 into nlohmann:master Mar 31, 2021
@nlohmann
Copy link
Owner

Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clang libstdc++ failed with gcc

2 participants