Skip to content

Commit

Permalink
Use -flto=auto for performance and remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Phillips committed Aug 28, 2024
1 parent fc8eaf1 commit d4042fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion microemacs/src/linuxgcc.mak
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ CCDEFS = -m$(BIT_SIZE) -D_LINUX -D_ARCHITEC=$(ARCHITEC) -D_TOOLKIT=$(TOOLKIT)
CCFLAGSR = -O3 -flto -DNDEBUG=1 -Wall -Wno-uninitialized -Wno-unused-result
CCFLAGSD = -g -Wall
LDDEFS = -m$(BIT_SIZE)
LDFLAGSR = -O3 -flto
LDFLAGSR = -O3 -flto=auto
LDFLAGSD = -g
LDLIBS = -lm -ldl

Expand Down
2 changes: 1 addition & 1 deletion microemacs/src/macoscc.mak
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ CCDEFS = -m$(BIT_SIZE) $(ARCFLAGS) -D_MACOS -D_ARCHITEC=$(ARCHITEC) -D_TOOLKIT
CCFLAGSR = -O3 -flto -DNDEBUG=1 -Wno-uninitialized
CCFLAGSD = -g
LDDEFS = -m$(BIT_SIZE) $(ARCFLAGS)
LDFLAGSR = -O3 -flto
LDFLAGSR = -O3 -flto=auto
LDFLAGSD = -g
LDLIBS =
ARFLAGSR = rcs
Expand Down

0 comments on commit d4042fe

Please sign in to comment.