SOURCES: openvpn-optflags.patch (NEW) - ass OPTFLAGS when compilin...

glen glen at pld-linux.org
Mon Oct 3 18:08:05 CEST 2005


Author: glen                         Date: Mon Oct  3 16:08:05 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- ass OPTFLAGS when compiling plugins

---- Files affected:
SOURCES:
   openvpn-optflags.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/openvpn-optflags.patch
diff -u /dev/null SOURCES/openvpn-optflags.patch:1.1
--- /dev/null	Mon Oct  3 18:08:05 2005
+++ SOURCES/openvpn-optflags.patch	Mon Oct  3 18:08:00 2005
@@ -0,0 +1,22 @@
+--- ../../plugin/auth-pam/Makefile~	2005-10-03 17:45:36.000000000 +0300
++++ ../../plugin/auth-pam/Makefile	2005-10-03 17:45:50.000000000 +0300
+@@ -15,7 +15,7 @@
+ # This directory is where we will look for openvpn-plugin.h
+ INCLUDE=-I../..
+ 
+-CC_FLAGS=-O2 -Wall -DDLOPEN_PAM=$(DLOPEN_PAM)
++CC_FLAGS=-O2 -Wall -DDLOPEN_PAM=$(DLOPEN_PAM) $(OPTFLAGS)
+ 
+ openvpn-auth-pam.so : auth-pam.o pamdl.o
+ 	gcc ${CC_FLAGS} -fPIC -shared -Wl,-soname,openvpn-auth-pam.so -o openvpn-auth-pam.so auth-pam.o pamdl.o -lc $(LIBPAM)
+--- ../../plugin/down-root/Makefile~	2004-11-25 02:08:39.000000000 +0200
++++ ../../plugin/down-root/Makefile	2005-10-03 17:46:09.000000000 +0300
+@@ -5,7 +5,7 @@
+ # This directory is where we will look for openvpn-plugin.h
+ INCLUDE=-I../..
+ 
+-CC_FLAGS=-O2 -Wall
++CC_FLAGS=-O2 -Wall $(OPTFLAGS)
+ 
+ down-root.so : down-root.o
+ 	gcc ${CC_FLAGS} -fPIC -shared -Wl,-soname,openvpn-down-root.so -o openvpn-down-root.so down-root.o -lc
================================================================



More information about the pld-cvs-commit mailing list