Skip to content
Snippets Groups Projects
Commit 4aa39019 authored by Jussi Kivilinna's avatar Jussi Kivilinna
Browse files

Enable floating-point math optimizations

parent bd50a015
No related branches found
No related tags found
No related merge requests found
......@@ -29,9 +29,9 @@ ifeq ($(DBG_FLGS),1)
OPTFLAGS = -O0 -g
else
OPTFLAGS = -O2 -fomit-frame-pointer -g
OPTFLAGS += -funsafe-math-optimizations
LTOFLAGS = -flto -fvisibility=hidden
LINKFLAGS += ${OPTFLAGS} ${LTOFLAGS}
# OPTFLAGS = -O2 -ffast-math -g
endif
INCLUDES = -I"./metamod" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment