Skip to content

Restore build on OSX, where make defines CXX as "c++" by default.#705

Merged
matthiaskrgr merged 1 commit into
cppcheck-opensource:masterfrom
simartin:restore_osx_default_build
Nov 14, 2015
Merged

Restore build on OSX, where make defines CXX as "c++" by default.#705
matthiaskrgr merged 1 commit into
cppcheck-opensource:masterfrom
simartin:restore_osx_default_build

Conversation

@simartin

Copy link
Copy Markdown
Contributor

Hi,

Build on OSX is broken since 11915f8 because make on this platform defines CXX as c++, and -std=c++0x is not appended to CXXFLAGS. This patch fixes this by handling the "CXX=c++ and OS=OSX" case appropriately. Thanks to consider merging.

Cheers,
Simon

PS: One can find the default value make gives to CXX by issuing "make -p | grep 'CXX ='"

@matthiaskrgr

Copy link
Copy Markdown
Collaborator

Okay, thanks!

matthiaskrgr added a commit that referenced this pull request Nov 14, 2015
Restore build on OSX, where make defines CXX as "c++" by default.
@matthiaskrgr matthiaskrgr merged commit 82dd644 into cppcheck-opensource:master Nov 14, 2015
@simartin simartin deleted the restore_osx_default_build branch November 14, 2015 11:25
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.

2 participants