Commit d4f703e7 authored by Peter Pentchev's avatar Peter Pentchev

Fix the handling of the "nostrip" build option.

Reported by:	Jakub Wilk <jwilk@debian.org>
parent 73772ab8
......@@ -25,6 +25,8 @@ libdebug (0.5.0-1) UNRELEASED; urgency=medium
- update the copyright information
* Do not install the static library.
* Drop the shlibs file and the debian/*.dirs files.
* Always build unstripped binaries, let dh_strip do its thing as needed.
Reported by: Jakub Wilk <jwilk@debian.org>
-- Peter Pentchev <roam@ringlet.net> Sun, 20 Mar 2016 15:57:44 +0200
......
......@@ -21,11 +21,7 @@ DEB_LDFLAGS_MAINT_APPEND= ${LFS_LDFLAGS}
export DEB_CFLAGS_MAINT_APPEND DEB_LDFLAGS_MAINT_APPEND
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
_STRIP= no
else
_STRIP= yes
endif
export _STRIP
DEB_HOST_MULTIARCH?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment