mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-17 04:44:10 +02:00
51a7d7850d
This also requires updating our patch for fortify-ing. We now also pass the version as define during compilation. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
11 lines
286 B
Diff
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 = \
|