miniupnpd/Makefile.linux_nft: update CFLAGS / LDFLAGS
This commit is contained in:
parent
e166f541e8
commit
a04d6d405d
|
@ -18,14 +18,17 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
CONFIG_OPTIONS += --firewall=nftables
|
CONFIG_OPTIONS += --firewall=nftables
|
||||||
CFLAGS = -O -g #-DDEBUG
|
#CFLAGS = -O -g #-DDEBUG
|
||||||
CFLAGS ?= -Os
|
CFLAGS ?= -Os
|
||||||
CFLAGS += -fno-strict-aliasing
|
CFLAGS += -fno-strict-aliasing
|
||||||
CFLAGS += -fno-common
|
CFLAGS += -fno-common
|
||||||
|
CFLAGS += -fstack-protector -fPIE
|
||||||
|
CFLAGS += -D_FORTIFY_SOURCE=2
|
||||||
CPPFLAGS += -D_GNU_SOURCE
|
CPPFLAGS += -D_GNU_SOURCE
|
||||||
CFLAGS += -Wall
|
CFLAGS += -Wall
|
||||||
CFLAGS += -Wextra -Wstrict-prototypes -Wdeclaration-after-statement
|
CFLAGS += -Wextra -Wstrict-prototypes -Wdeclaration-after-statement
|
||||||
#CFLAGS += -Wno-missing-field-initializers
|
#CFLAGS += -Wno-missing-field-initializers
|
||||||
|
LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
RM = rm -f
|
RM = rm -f
|
||||||
INSTALL = install
|
INSTALL = install
|
||||||
|
|
Loading…
Reference in New Issue