Open tseemann opened 6 years ago
==> make install g++-8 -O3 -DNDEBUG -std=c++11 -Isrc -I /usr/local/opt/boost/include -fopenmp -mmacosx-version-min=10.7 -stdlib=libc++ -DUSE_BOOST src/cgi/core_genome_identity.cpp -o fastANI /usr/local/opt/boost/lib/libboost_math_c99.a -lstdc++ -lz -lm g++-8: error: unrecognized command line option '-stdlib=libc++' make: *** [fastANI] Error 1
It still seems to be passing clang++ specific parameters to g++ ie. mmacosx-version-min=10.7 -stdlib=libc++
mmacosx-version-min=10.7 -stdlib=libc++
Ok I now see in Makefile.in where it occurs:
Makefile.in
ifeq ($(UNAME_S),Darwin) CXXFLAGS += -mmacosx-version-min=10.7 -stdlib=libc++ else CXXFLAGS += -include src/common/memcpyLink.h -Wl,--wrap=memcpy CFLAGS += -include src/common/memcpyLink.h endif
Can you change the if Darwin to if Darwin and not GCC ?
if Darwin
if Darwin and not GCC
Ok, i figured out what needs to be doen https://github.com/brewsci/homebrew-bio/pull/363
if
You need a 3rd case:
Any movement on this?
It still seems to be passing clang++ specific parameters to g++ ie.
mmacosx-version-min=10.7 -stdlib=libc++
Ok I now see in
Makefile.in
where it occurs:Can you change the
if Darwin
toif Darwin and not GCC
?