aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/control7
-rwxr-xr-xdebian/rules4
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index dc546bf..42d8c8b 100644
--- a/debian/control
+++ b/debian/control
@@ -24,3 +24,10 @@ Depends: ${misc:Depends}, libgtp0
Architecture: any
Section: libdevel
Description: Development files for libgtp
+
+Package: openggsn-dbg
+Section: debug
+Architecture: any
+Priority: extra
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Debug symbols for OpenGGSN
diff --git a/debian/rules b/debian/rules
index bce9ff3..981fa51 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,7 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
+export DEB_BUILD_HARDENING=1
CFLAGS = -Wall -g
@@ -22,3 +23,6 @@ CFLAGS = -Wall -g
dh --with autoreconf $@
override_dh_auto_clean:
+
+override_dh_strip:
+ dh_strip --dbg-package=openggsn-dbg