#456: Ensure functions are not defined twice --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: new Priority: major | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by eschnett):
Yes.
However, --whole-archive does not work on OS X, but a different mechanism is working there. We can either autoconf both, or allow OS X users to override this in their option list.
This works on OS X: {{{ CACTUSLIBLINKLINE = -L$(CCTK_LIBDIR) -filelist $(CCTK_LIBDIR)/LINKLIST,$(TOP)/build BEGIN_WHOLE_ARCHIVE_FLAGS = -L$(CCTK_LIBDIR) # must not be empty END_WHOLE_ARCHIVE_FLAGS = }}}