[SCM] jack-audio-connection-kit/master: Build adding -fPIC to CFLAGS
rbalint at users.alioth.debian.org
rbalint at users.alioth.debian.org
Wed Sep 28 21:08:51 UTC 2016
The following commit has been merged in the master branch:
commit 43082af09b9c288393bc57b66e0d2bdee0c24d57
Author: Balint Reczey <balint at balintreczey.hu>
Date: Wed Sep 28 22:25:52 2016 +0200
Build adding -fPIC to CFLAGS
Closes: 837423
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..82359f9
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,8 @@
+This package ships only static libraries and they are compiled with -fPIC
+to let reverse dependencies use the static libraries as part of shared
+libraries and PIE binaries.
+
+The exception is discussed in this thread:
+ https://lists.debian.org/debian-devel/2016/09/msg00277.html
+
+ -- Balint Reczey <rbalint at chaos.sz13.dyndns.org>, Wed, 28 Sep 2016 21:08:21 +0200
diff --git a/debian/rules b/debian/rules
index 3482e13..7e5edc4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,6 +64,9 @@ else
DEB_CONFIGURE_EXTRA_FLAGS += --with-default-tmpdir=/tmp
endif
+# build everything including static libs as PIC
+CFLAGS += -fPIC
+
ifneq (,$(filter doopt,$(DEB_BUILD_OPTIONS)))
# do optimization for the different architectures
ifneq (,$(findstring i386,$(DEB_BUILD_ARCH)))
--
Debian packaging for jack-audio-connection-kit
More information about the pkg-multimedia-commits
mailing list