fell back to c++20 | bench 1857933

This commit is contained in:
rektdie committed 2025-04-10 06:09:35 +02:00
1 parent a957e46bdc
commit a84cf720b9
1 file changed
+2 -2
+2 -2
View File
@@ -26,11 +26,11 @@ OBJS := $(patsubst $(SRC_DIR)/%.cpp, $(OBJ_DIR)/%.o, $(SRCS))
# Final binary
$(EXE)$(EXE_EXT): $(OBJS)
$(CXX) $(CXXFLAGS) -DEVALFILE=\"$(EVALFILE)\" $^ ./external/fmt/format.cc -o $@ -O3 -march=native -fuse-ld=lld -flto
$(CXX) $(CXXFLAGS) -DEVALFILE=\"$(EVALFILE)\" $^ ./external/fmt/format.cc -o $@ -O3 -march=native -flto
# Compile .cpp -> .o
$(OBJ_DIR)/%.o: $(SRC_DIR)/%.cpp | $(OBJ_DIR)
$(CXX) -std=c++23 -c -o $@ $< -O3 -march=native -fuse-ld=lld -flto
$(CXX) -std=c++20 -c -o $@ $< -O3 -march=native -flto
# Create object directory
$(OBJ_DIR):