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

Remove explicit g++ usage from Makefile #1

Merged
merged 1 commit into from
Aug 19, 2020
Merged

Conversation

tvrusso
Copy link
Collaborator

@tvrusso tvrusso commented Dec 26, 2017

The Makefile for AGM explicitly used "g++" for the C++ compiler. This
is undesirable, as it makes it more difficult to build on systems
whose native compiler isn't GCC (FreeBSD and Mac OS X use Clang).

This commit replaces the explicit use of "g++" with "$(CXX)", Make's
normal variable that should have the default C++ compiler named in
it. This can also be used to override which C++ compiler is being
used, via "make CXX=".

The Makefile for AGM explicitly used "g++" for the C++ compiler.  This
is undesirable, as it makes it more difficult to build on systems
whose native compiler isn't GCC (FreeBSD and Mac OS X use Clang).

This commit replaces the explicit use of "g++" with "$(CXX)", Make's
normal variable that should have the default C++ compiler named in
it.  This can also be used to override which C++ compiler is being
used, via "make CXX=<something else>".
@ctwardy
Copy link
Owner

ctwardy commented Aug 19, 2020

Thanks @tvrusso ! Sorry to be so late on this - I wasn't watching pull requests because no one ever pull requests.

@ctwardy ctwardy merged commit 7d23f5e into ctwardy:master Aug 19, 2020
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