openwrt-packages/utils/mmc-utils/patches/0000-properly-set-fortify-s...

11 lines
286 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CC ?= gcc
GIT_VERSION := "$(shell git describe --abbrev=6 --always --tags)"
-AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 \
+AM_CFLAGS = -D_FILE_OFFSET_BITS=64 \
-DVERSION=\"$(GIT_VERSION)\"
CFLAGS ?= -g -O2
objects = \