Add constant (i.e. string) deduplication, including at link time.

This commit is contained in:
Michael Keller 2021-11-07 14:27:36 +13:00
parent 5d41f9830b
commit ae65d6eb07
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ else
ifeq ($(DEBUG),INFO)
DEBUG_FLAGS = -ggdb3
endif
OPTIMISATION_BASE := -flto -fuse-linker-plugin -ffast-math
OPTIMISATION_BASE := -flto -fuse-linker-plugin -ffast-math -fmerge-all-constants
OPTIMISE_DEFAULT := -O2
OPTIMISE_SPEED := -Ofast
OPTIMISE_SIZE := -Os