Browse Source

build(mdig): enable LTO for smaller and faster binary

Co-authored-by: vemneyy <[email protected]>
pull/2093/head
copilot-swe-agent[bot] 4 months ago
parent
commit
75fa37880c
  1. 2
      mdig/Makefile

2
mdig/Makefile

@ -1,6 +1,6 @@
CC ?= cc
OPTIMIZE ?= -Os
CFLAGS += -std=gnu99 $(OPTIMIZE)
CFLAGS += -std=gnu99 $(OPTIMIZE) -flto=auto
CFLAGS_BSD = -Wno-address-of-packed-member
CFLAGS_WIN = -static
LIBS = -lpthread

Loading…
Cancel
Save