diff options
Diffstat (limited to 'include/makeinclude/platform_linux_lxpthreads.GNU')
-rw-r--r-- | include/makeinclude/platform_linux_lxpthreads.GNU | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/makeinclude/platform_linux_lxpthreads.GNU b/include/makeinclude/platform_linux_lxpthreads.GNU deleted file mode 100644 index 9b563fe2897..00000000000 --- a/include/makeinclude/platform_linux_lxpthreads.GNU +++ /dev/null @@ -1,30 +0,0 @@ -# For pthreads support on Linux, you need -# -D_POSIX_THREADS -# -D_POSIX_THREAD_SAFE_FUNCTIONS -# in the CXX command line. Also, add -lpthreads to the LIBS. -# libpthreads.so comes with the sources of Linux libc-5.3.*, you need -# to compile it yourself (no binaries included) -- -# Jan Rychter <jwr@icm.edu.pl> - -CC = gcc -CXX = g++ -CFLAGS += -w -O2 -fno-strict-prototypes -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -CCFLAGS += $(CFLAGS) -fno-implicit-templates -DLD = $(CXX) -LD = $(CXX) -LIBS += -ldl -lpthread -PIC = -fPIC -AR = ar -ARFLAGS = ruv -RANLIB = ranlib - -SOFLAGS = $(CPPFLAGS) -shared -SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< -# Added line below to support "Executable Shared Object" files (as -# needed by the service configurator). -# Marius Kjeldahl <mariusk@sn.no, marius@funcom.com> -ESOBUILD = $(COMPILEESO.cc) $(PIC) -shared -o $(VSHDIR)$*.so $< -PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \ - $(COMPILE.cc) -o gcctemp.o gcctemp.c && \ - $(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \ - status=$$?; exit $$status) |