Browse Source

use C++17 for newer versions of clang for BSD

pull/2047/head
orignal 9 months ago
parent
commit
4def0b6ea5
  1. 1
      Makefile.bsd

1
Makefile.bsd

@ -13,6 +13,7 @@ else ifeq (${CXXVER}, "4.2.1") # older clang always returned 4.2.1
NEEDED_CXXFLAGS = -std=c++11 NEEDED_CXXFLAGS = -std=c++11
else # newer versions support C++17 else # newer versions support C++17
NEEDED_CXXFLAGS = -std=c++17 NEEDED_CXXFLAGS = -std=c++17
endif
DEFINES = -D_GLIBCXX_USE_NANOSLEEP=1 DEFINES = -D_GLIBCXX_USE_NANOSLEEP=1
INCFLAGS = -I/usr/include/ -I/usr/local/include/ INCFLAGS = -I/usr/include/ -I/usr/local/include/
LDFLAGS = ${LD_DEBUG} -Wl,-rpath,/usr/local/lib -L/usr/local/lib LDFLAGS = ${LD_DEBUG} -Wl,-rpath,/usr/local/lib -L/usr/local/lib

Loading…
Cancel
Save