mirror of
https://github.com/openwrt/packages.git
synced 2025-02-12 03:28:07 +00: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 = \
|