diff --git a/nfq2/BSDmakefile b/nfq2/BSDmakefile index e3a2f61..684b0e6 100644 --- a/nfq2/BSDmakefile +++ b/nfq2/BSDmakefile @@ -1,7 +1,7 @@ CC ?= cc PKG_CONFIG ?= pkg-config OPTIMIZE ?= -Oz -MINSIZE ?= -flto=auto -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables +MINSIZE ?= -flto=auto -ffunction-sections -fdata-sections CFLAGS += -std=gnu99 -s $(OPTIMIZE) $(MINSIZE) -Wno-address-of-packed-member LDFLAGS += -flto=auto -Wl,--gc-sections LIBS = -lz -lm diff --git a/nfq2/Makefile b/nfq2/Makefile index 8c8e307..6084e43 100644 --- a/nfq2/Makefile +++ b/nfq2/Makefile @@ -1,7 +1,7 @@ CC ?= cc PKG_CONFIG ?= pkg-config OPTIMIZE ?= -Os -MINSIZE ?= -flto=auto -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables +MINSIZE ?= -flto=auto -ffunction-sections -fdata-sections CFLAGS += -std=gnu99 $(OPTIMIZE) $(MINSIZE) CFLAGS_LINUX = -Wno-alloc-size-larger-than CFLAGS_SYSTEMD = -DUSE_SYSTEMD