Skip to content

Commit

Permalink
make: set LTO jobs from PARALLEL_JOBS (#1803)
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit-pierre committed May 31, 2024
1 parent cd35fc8 commit eb1985c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.defs
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ BASE_CFLAGS:=-O2 -ffast-math -pipe -fomit-frame-pointer
# Used to enforce aggressive optimizations in some components
VECTO_CFLAGS:=-O3 -ffast-math -pipe -fomit-frame-pointer -frename-registers -fweb -ftree-vectorize -funroll-loops
# And for an aggressive LTO build
#BASE_CFLAGS:=$(VECTO_CFLAGS) -flto=8 -fuse-linker-plugin
#BASE_CFLAGS:=$(VECTO_CFLAGS) -flto$(if $(PARALLEL_JOBS),=$(PARALLEL_JOBS)) -fuse-linker-plugin
# Use this for debugging:
ifdef KODEBUG
BASE_CFLAGS:=-Og -g -pipe -fno-omit-frame-pointer
Expand Down

0 comments on commit eb1985c

Please sign in to comment.