updated c++17 compiler flags (#4983)

This commit is contained in:
アマデウス
2023-10-27 18:19:56 +08:00
committed by GitHub
parent 1db6727678
commit 4e4a10c97d
5 changed files with 15 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
CXXFLAGS += -O3 -Wall -shared -std=c++14 -fPIC -fdiagnostics-color
CXXFLAGS += -O3 -Wall -shared -std=c++14 -std=c++17 -fPIC -fdiagnostics-color
CPPFLAGS += $(shell python3 -m pybind11 --includes)
LIBNAME = mask
LIBEXT = $(shell python3-config --extension-suffix)