#2553: Cactus' link command uses CPPFLAGS and CXXFLAGS
| Reporter: | Roland Haas |
| Status: | open |
| Milestone: | |
| Version: | development version |
| Type: | bug |
| Priority: | minor |
| Component: | Cactus |
Comment (by Roland Haas):
The ticket got sidetracked a bit. The original question was to remove CPPFLAGS and CXXFLAGS from the link call since there is no actual compilation happening (it really only links library and object files).
Removing CXXFLAGS may result in (fixable) build failures in option lists that set eg -fopenmp only in CXXFLAGS and not also in LDFLAGS (or OPENMP_CXXFLAGS and not also OPENMP_LDFLAGS) since -fopenmp must be present in the link line to link in the OpenMP runtime libraries.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2553/cactus-link-command-uses-cppflags-and