[alberta] 01/01: Disable stackprotector when building with clang
Ansgar Burchardt
ansgar at moszumanska.debian.org
Fri Jun 13 10:11:31 UTC 2014
This is an automated email from the git hooks/post-receive script.
ansgar pushed a commit to branch master
in repository alberta.
commit 9e5d41ea25441808d2b86559ce24797c3114f307
Author: Ansgar Burchardt <ansgar at debian.org>
Date: Fri Jun 13 11:10:23 2014 +0000
Disable stackprotector when building with clang
Building the shared library with the stack protector enabled results
in an error when trying to link against libalberta_utilities.so:
[...]/libalberta_utilities.so: undefined reference to `__stack_chk_guard'
---
debian/rules | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/rules b/debian/rules
index 1c9b390..d195617 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,7 @@ CONFIGURE_FLAGS := \
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
ifneq (,$(filter powerpc ppc64 ppc64el,$(DEB_HOST_ARCH)))
+ export DEB_BUILD_MAINT_OPTIONS=hardening=-stackprotector
CONFIGURE_FLAGS += CC=clang
endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/alberta.git
More information about the debian-science-commits
mailing list