Skip to content

Commit

Permalink
Use -flto=auto
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed Oct 2, 2022
1 parent 3c04998 commit 1653a9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ VERSION_STRING := `git describe --tags --dirty --always 2>/dev/null`
WARNFLAGS := -Wall -pedantic

# Overridable CFLAGS
CFLAGS ?= -O3 -flto -DNDEBUG
CXXFLAGS ?= -O3 -flto -DNDEBUG
CFLAGS ?= -O3 -flto=auto -DNDEBUG
CXXFLAGS ?= -O3 -flto=auto -DNDEBUG
# Non-overridable CFLAGS
# _ISOC11_SOURCE is required on certain platforms to get C11 on top of the C99-based POSIX 2008
REALCFLAGS := ${CFLAGS} ${WARNFLAGS} -std=gnu11 -I include \
Expand Down

0 comments on commit 1653a9a

Please sign in to comment.