#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-...