You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
freshtomato-arm/release/src-rt-6.x.4708/router/patches/rp-pppoe/106-fix-build-flags.patch

18 lines
547 B
Diff

Description: Add hardening build flags to Makefile
Author: Lee Garrett <debian@rocketjump.eu>
Forwarded: not-needed
Last-Update: 2023-01-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- rp-pppoe/src/Makefile.in
+++ rp-pppoe/src/Makefile.in
@@ -51,7 +51,7 @@
'-DPLUGIN_PATH="$(PLUGIN_PATH)"' \
'-DPPPOE_SERVER_OPTIONS="$(PPPOESERVER_PPPD_OPTIONS)"'
-CFLAGS= @CFLAGS@ $(DEFINES) $(PATHS) -Ilibevent
+CFLAGS= @CFLAGS@ $(CPPFLAGS) $(DEFINES) $(PATHS) -Ilibevent
TARGETS=@TARGETS@
LDFLAGS=@LDFLAGS@
STATIC=@STATIC@