summaryrefslogtreecommitdiff
path: root/package/ppp/patches/203-opt_flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/patches/203-opt_flags.patch')
-rw-r--r--package/ppp/patches/203-opt_flags.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/ppp/patches/203-opt_flags.patch b/package/ppp/patches/203-opt_flags.patch
index f0d416f..a369163 100644
--- a/package/ppp/patches/203-opt_flags.patch
+++ b/package/ppp/patches/203-opt_flags.patch
@@ -1,3 +1,11 @@
+build: Move optimization flags into a separate variable
+
+Isolate optimization related compiler flags from CFLAGS and move them into a
+separate COPTS variable so that it is easier to override optimizations from
+the environment.
+
+Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
+
--- a/pppd/plugins/radius/Makefile.linux
+++ b/pppd/plugins/radius/Makefile.linux
@@ -12,7 +12,8 @@ VERSION = $(shell awk -F '"' '/VERSION/