Remove heavy optims flags from makefile and add predefined function attributes instead.

This commit is contained in:
2023-01-06 17:00:11 +01:00
parent 596caef7ee
commit a6ec35ebd1
2 changed files with 6 additions and 1 deletions

View File

@ -21,7 +21,7 @@ cpp/math.cpp
OUTPUTFILE = engine.so
CXXFLAGS = -Wall -Werror -O2 -msse2 -ffast-math -fpic -flto -fno-rtti -fno-exceptions
CXXFLAGS = -std=c++17 -Wall -Werror -O2 -msse2 -fpic -flto -fno-rtti -fno-exceptions
.PHONY: all
all: clean $(OUTPUTFILE)