You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
746 B

  1. --- a/Makefile.linux
  2. +++ b/Makefile.linux
  3. @@ -24,16 +24,16 @@
  4. CONFIG_OPTIONS += --firewall=iptables
  5. #CFLAGS = -O -g -DDEBUG
  6. CFLAGS ?= -Os
  7. -CFLAGS += -fno-strict-aliasing
  8. -CFLAGS += -fno-common
  9. -CFLAGS += -fstack-protector -fPIE
  10. -CFLAGS += -D_FORTIFY_SOURCE=2
  11. +#CFLAGS += -fno-strict-aliasing
  12. +#CFLAGS += -fno-common
  13. +#CFLAGS += -fstack-protector -fPIE
  14. +#CFLAGS += -D_FORTIFY_SOURCE=2
  15. CPPFLAGS += -D_GNU_SOURCE
  16. CFLAGS += -Wall
  17. CFLAGS += -Wextra -Wstrict-prototypes -Wdeclaration-after-statement
  18. #CFLAGS += -Wno-missing-field-initializers
  19. #CFLAGS += -ansi # iptables headers does use typeof which is a gcc extension
  20. -LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie
  21. +LDFLAGS ?= -Wl,-z,now -Wl,-z,relro -pie
  22. CC ?= gcc
  23. RM = rm -f
  24. INSTALL = install