Browse Source

Compile using C++17 standard

So we can use modern features like std::optional soon.
pull/955/head
Scott Johnson 4 years ago
committed by Scott Johnson
parent
commit
55f664b6b7
  1. 2
      Makefile.in

2
Makefile.in

@ -94,7 +94,7 @@ VPATH := $(addprefix $(src_dir)/, $(sprojs_enabled))
# highest.
default-CFLAGS := -DPREFIX=\"$(prefix)\" -Wall -Wno-unused -Wno-nonportable-include-path -g -O2 -fPIC
default-CXXFLAGS := $(default-CFLAGS) -std=c++11
default-CXXFLAGS := $(default-CFLAGS) -std=c++17
mcppbs-CPPFLAGS := @CPPFLAGS@
mcppbs-CFLAGS := $(default-CFLAGS) @CFLAGS@

Loading…
Cancel
Save