[SCM] gmerlin/master: Apply more hardening flags
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Wed Jul 2 12:33:58 UTC 2014
The following commit has been merged in the master branch:
commit 552a4dd2ee7d890085ac55f060bcaff4a7dc0ce2
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date: Wed Jul 2 14:28:07 2014 +0200
Apply more hardening flags
Had to move LDFLAGS after the CDBS-include snippets, else the
LDFLAGS wouldn't contain hardening.
diff --git a/debian/rules b/debian/rules
index 457daed..2ea6efd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-LDFLAGS+=-Wl,--as-needed
include /usr/share/cdbs/1/rules/upstream-tarball.mk
include /usr/share/cdbs/1/rules/debhelper.mk
@@ -59,6 +58,8 @@ ifneq ($(DEB_HOST_ARCH_OS),linux)
DEB_CONFIGURE_EXTRA_FLAGS += --disable-v4l --disable-v4l2
endif
+LDFLAGS+=-Wl,--as-needed
+
build/gmerlin::
./apps/thumbnailer/gmerlin-video-thumbnailer -help-man | sed -e 's/-/\\-/g' > gmerlin-video-thumbnailer.1
PATH=$(CURDIR)/apps/player/:$(PATH) ./apps/player/gmerlin_launcher -help-man | sed -e 's/-/\\-/g' > gmerlin_launcher.1
--
gmerlin packaging
More information about the pkg-multimedia-commits
mailing list