5978ceb271
Nixpkgs on aarch64-linux is currently stuck on GCC 9 (https://github.com/NixOS/nixpkgs/issues/208412) and using gcc11Stdenv doesn't work either. So use c++2a instead of c++20 for now. Unfortunately this means we can't use some C++20 features for now (like std::span).
15 lines
214 B
Makefile
15 lines
214 B
Makefile
makefiles = local.mk
|
|
|
|
GLOBAL_CXXFLAGS += -g -Wall -std=c++2a -I ../src
|
|
|
|
-include Makefile.config
|
|
|
|
OPTIMIZE = 1
|
|
|
|
ifeq ($(OPTIMIZE), 1)
|
|
GLOBAL_CXXFLAGS += -O3
|
|
else
|
|
GLOBAL_CXXFLAGS += -O0
|
|
endif
|
|
|
|
include mk/lib.mk
|