Skip to content
Snippets Groups Projects
Commit 4a8c68d9 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

RF: Work around issue with c++17 and older versions of libxml++. Easier to

define here rather than in every project which uses ciftilib (which in turn
uses libxml++)
parent 8171351c
No related branches found
No related tags found
1 merge request!36RF: Work around issue with c++17 and older versions of libxml++.
......@@ -114,6 +114,13 @@ ifeq ($(SYSTYPE), Darwin)
LDFLAGS += -Wl,-rpath,"${FSLDIR}/lib"
ARCHLIBS += -llapack -lblas -lz -lm
# Old versions of libxml++ (which is used by
# ciftilib) use std::auto_ptr, which has been
# removed from the llvm C++17 implementation.
# Adding this flag is a hack which allows us
# to continue to use std::auto_ptr.
ARCHCPPFLAGS += -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
# On macOS, we need to change the install
# name of shared libs so that they can be
# looked up according to the rpath of
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment