From d1fe6a6016efbb4f487dcac2f91194e58597ee3b Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Thu, 4 Apr 2019 11:15:22 +0200 Subject: nxproxy/{m4,configure.ac,src/Makefile.am}: drop pthread overlinking. Should be fixed by correctly building libXcomp. See: ArcticaProject/nx-libs#756 --- nxproxy/configure.ac | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'nxproxy/configure.ac') diff --git a/nxproxy/configure.ac b/nxproxy/configure.ac index 6a0a41cbb..2ca64f61e 100644 --- a/nxproxy/configure.ac +++ b/nxproxy/configure.ac @@ -28,17 +28,6 @@ NX_DEFAULT_OPTIONS NX_TARGET_USE_ELF -dnl This is a workaround for a nasty libtool bug. -dnl We actually compile libXcomp with pthread support, but libtool uses g++ ... -nostdlib ... -pthread -dnl on Linux. -nostdlib causes -pthread to be ignored. -dnl According to GCC upstream, this is not a bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460 -dnl GCC upstream insists that libtool needs to handle -pthread in a special way when using -nostdlib. -dnl A patch has been submitted to the libtool project: http://lists.gnu.org/archive/html/libtool-patches/2013-11/msg00015.html -dnl but never applied to the code base. Boo. -dnl We will work around this bug by using AX_PTHREAD and linking with pthread support in all consumers of -dnl libXcomp for now. -AX_PTHREAD([], AC_MSG_ERROR([no POSIX threads support detected])) - AC_CONFIG_FILES([ Makefile man/Makefile -- cgit v1.2.3