[ET Trac] #2553: Cactus' link command uses CPPFLAGS and CXXFLAGS

Roland Haas trac-noreply at einsteintoolkit.org
Fri Jan 7 09:23:22 CST 2022


#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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20220107/b523ba7b/attachment-0001.html 


More information about the Trac mailing list