File: 30_build-with-debug-symbols.diff

package info (click to toggle)
openvpn-auth-radius 2.1-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,824 kB
  • sloc: cpp: 9,043; perl: 323; makefile: 46
file content (20 lines) | stat: -rw-r--r-- 408 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
The upstream source provides no way to extend the CFLAGS by -g which is needed
for building the debug package. So instead of setting the variables, we add to
them.
--- a/Makefile
+++ b/Makefile
@@ -9,10 +9,10 @@
 
 
 
-INCL=
-LDFLAGS=
-LIBS=-lgcrypt -lpthread
-CFLAGS=-Wall -shared -fPIC -DPIC
+INCL +=
+LDFLAGS +=
+LIBS += -lgcrypt -lpthread
+CFLAGS += -Wall -shared -fPIC -DPIC
 
 
 PLUGIN=radiusplugin.so