[ET Trac] #2807: Hydro_RNSD passes CFLAGS to LD
Roland Haas
trac-noreply at einsteintoolkit.org
Fri Jun 28 10:40:23 CDT 2024
#2807: Hydro_RNSD passes CFLAGS to LD
Reporter: Roland Haas
Status: new
Milestone:
Version:
Type: bug
Priority: minor
Component: EinsteinToolkit thorn
Hydro\_RNSID passed CFLAGS to LD when linking its utilities:
```
HYDRO_RNS_LDFLAGS := $(HYDRO_RNS_CFLAGS) $(DEBUG_LD) $(LDFLAGS) $(EXTRAFLAGS) $(GENERAL_LIBRARIES
```
this fails if `LD` is `nvcc` which will not accept a `-std=gnu99` or `-std=c99` option typically present in `CFLAGS` since it only accepts C\+\+ language flavors.
This is similar to #2553 where Cactus pass `CPPFLAGS` and `CXXFLAGS` to `LD`
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2807/hydro_rnsd-passes-cflags-to-ld
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20240628/9f6755f1/attachment.htm>
More information about the Trac
mailing list