diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-04-07 21:36:05 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-04-07 21:36:05 +0200 |
commit | cb5c042a181fba3540952991b48382fabedaf88c (patch) | |
tree | 9844249f3536956e627d24a46394b920655ce8ee /debian/patches/2004_enforce-lpthread.patch | |
parent | 59305c8b98d1046806e1cb80e2c7ba023c6f49cd (diff) | |
parent | dd0d49c4ef08ddd0e6cb8e689f07ee84b51c2974 (diff) | |
download | nx-libs-cb5c042a181fba3540952991b48382fabedaf88c.tar.gz nx-libs-cb5c042a181fba3540952991b48382fabedaf88c.tar.bz2 nx-libs-cb5c042a181fba3540952991b48382fabedaf88c.zip |
Merge branch 'Ionic-bugfix/libXcomp-pthread-underlinking' into 3.6.x
Attributes GH PR #791: https://github.com/ArcticaProject/nx-libs/pull/791
Diffstat (limited to 'debian/patches/2004_enforce-lpthread.patch')
-rw-r--r-- | debian/patches/2004_enforce-lpthread.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/debian/patches/2004_enforce-lpthread.patch b/debian/patches/2004_enforce-lpthread.patch deleted file mode 100644 index 474feb0dd..000000000 --- a/debian/patches/2004_enforce-lpthread.patch +++ /dev/null @@ -1,33 +0,0 @@ -Description: Enforce -lpthread when linking nxcomp. -Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> -Abstract: - This is a workaround for a nasty libtool bug!!! - . - We actually compile libXcomp with pthread support, but libtool uses g++ - ... -nostdlib ... -pthread on Linux. -nostdlib causes -pthread to be - ignored. - . - According to GCC upstream, this is not a bug: - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460 - . - GCC upstream insists that libtool needs to handle -pthread in a special - way when using -nostdlib. - . - A patch has been submitted to the libtool project: - http://lists.gnu.org/archive/html/libtool-patches/2013-11/msg00015.html - but never applied to the code base. Boo. - . - We will work around this bug by hard-coding the linking with pthread - support in libXcomp for now. - ---- a/nxcomp/src/Makefile.am -+++ b/nxcomp/src/Makefile.am -@@ -139,7 +139,7 @@ - libXcomp_la_LDFLAGS = \ - -version-number @LT_COMP_VERSION@ \ - -no-undefined \ -- $(PTHREAD_LDFLAGS) \ -+ $(PTHREAD_LDFLAGS) -lpthread \ - $(NULL) - - libXcompincludedir = $(includedir)/nx |