Hydro_RNSD passes CFLAGS to LD

Issue #2807 new
Roland Haas created an issue

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

Comments (0)

  1. Log in to comment