]> git.ipfire.org Git - ipfire-3.x.git/blob - ppp/patches/0021-build-sys-compile-pppol2tp-plugin-with-RPM_OPT_FLAGS.patch
ppp: Update to 2.4.6.
[ipfire-3.x.git] / ppp / patches / 0021-build-sys-compile-pppol2tp-plugin-with-RPM_OPT_FLAGS.patch
1 From d69eb9a8aa284014dd7dd282813989eda9d84d74 Mon Sep 17 00:00:00 2001
2 From: Michal Sekletar <msekleta@redhat.com>
3 Date: Wed, 9 Apr 2014 09:56:09 +0200
4 Subject: [PATCH 21/25] build-sys: compile pppol2tp plugin with RPM_OPT_FLAGS
5
6 ---
7 pppd/plugins/pppol2tp/Makefile.linux | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/pppd/plugins/pppol2tp/Makefile.linux b/pppd/plugins/pppol2tp/Makefile.linux
11 index 4339566..9a635b8 100644
12 --- a/pppd/plugins/pppol2tp/Makefile.linux
13 +++ b/pppd/plugins/pppol2tp/Makefile.linux
14 @@ -1,5 +1,5 @@
15 #CC = gcc
16 -COPTS = -O2 -g
17 +COPTS = $(RPM_OPT_FLAGS)
18 CFLAGS = $(COPTS) -I. -I../.. -I../../../include -fPIC
19 LDFLAGS = -shared
20 INSTALL = install
21 --
22 1.8.3.1
23