debian: Harden and build debug packages
This commit is contained in:
parent
493ec593f7
commit
f97f58deb2
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue