From 3bd5c238bc17a41b8f5986865b44693d2e4492bf Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Mon, 3 Mar 2014 16:27:30 +0800 Subject: ppp: upgrade to 2.4.6 (From OE-Core rev: d05b1d06b5b8b84c2a40639ad28e31cd683f89a4) Signed-off-by: Hongxu Jia Signed-off-by: Richard Purdie --- meta/recipes-connectivity/ppp/ppp/copts.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta/recipes-connectivity/ppp/ppp/copts.patch (limited to 'meta/recipes-connectivity/ppp/ppp/copts.patch') diff --git a/meta/recipes-connectivity/ppp/ppp/copts.patch b/meta/recipes-connectivity/ppp/ppp/copts.patch new file mode 100644 index 0000000000..53ff06e03e --- /dev/null +++ b/meta/recipes-connectivity/ppp/ppp/copts.patch @@ -0,0 +1,21 @@ +ppp: use build system CFLAGS when compiling + +Upstream-Status: Pending + +Override the hard-coded COPTS make variables with +CFLAGS. Add COPTS into one Makefile that did not +use it. + +Signed-off-by: Joe Slater + +--- a/pppd/plugins/radius/Makefile.linux ++++ b/pppd/plugins/radius/Makefile.linux +@@ -12,7 +12,7 @@ VERSION = $(shell awk -F '"' '/VERSION/ + INSTALL = install + + PLUGIN=radius.so radattr.so radrealms.so +-CFLAGS=-I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON ++CFLAGS=-I. -I../.. -I../../../include $(COPTS) -fPIC -DRC_LOG_FACILITY=LOG_DAEMON + + # Uncomment the next line to include support for Microsoft's + # MS-CHAP authentication protocol. -- cgit v1.2.3-54-g00ecf