#1011: Dependencies ignore compiler flags -----------------------+---------------------------------------------------- Reporter: eschnett | Owner: Type: defect | Status: review Priority: major | Milestone: Component: Cactus | Version: Resolution: | Keywords: -----------------------+---------------------------------------------------- Changes (by eschnett):
* status: new => review
Comment:
I propose the attached modification to determining dependencies. Essentially, every time $(CC) or $(CXX) is used, $(CFLAGS) or $(CXXFLAGS) are added in addition to $(CPPFLAGS).
This seems to work fine on all systems I tested, but of course I cannot tell whether it corrects the respective problem on all these systems. It does correct the system on Mac OS X.
After applying this patch, autoconf needs to run, and force-reconfigure needs to be modified.