mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 19:31:12 +00:00
further reduce binary size: enable inlining and lto
This commit is contained in:
parent
63184dcc95
commit
5ca172bad9
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ export RANLIB := $(PREFIX)gcc-ranlib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ARCH := -march=armv4t -mtune=arm7tdmi -mthumb-interwork
|
ARCH := -march=armv4t -mtune=arm7tdmi -mthumb-interwork
|
||||||
CFLAGS = $(ARCH) -Os -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-inline -std=gnu11 -Wall
|
CFLAGS = $(ARCH) -Os -flto -ffunction-sections -fdata-sections -fomit-frame-pointer -std=gnu11 -Wall
|
||||||
LDFLAGS = $(ARCH) -nostartfiles -Wl,--nmagic,--gc-sections
|
LDFLAGS = $(ARCH) -nostartfiles -Wl,--nmagic,--gc-sections
|
||||||
|
|
||||||
SO_CFLAGS = $(CFLAGS) -fpie -marm
|
SO_CFLAGS = $(CFLAGS) -fpie -marm
|
||||||
|
|
Loading…
Reference in a new issue