From 770aedbd09fb1e11a4e4880da2603a517856c16c Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Sat, 10 Apr 2010 16:18:34 +0200 Subject: Build fixes for Solaris and non-GNU compilers Compiling C++ code with -D_POSIX_SOURCE on Solaris is unsupported, so remove it. Isolate GCC-isms inside checks that we are actually using GCC/G++. Only check for -lstdc++ when on GCC and doing static linking. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 4e695f6..ea7ce54 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -257,7 +257,7 @@ libzmq_la_CXXFLAGS = -I$(top_srcdir)/foreign/openpgm/@pgm_basename@/openpgm/pgm/ endif if BUILD_NO_PGM -libzmq_la_CXXFLAGS = -Wall @LIBZMQ_EXTRA_CXXFLAGS@ +libzmq_la_CXXFLAGS = @LIBZMQ_EXTRA_CXXFLAGS@ endif dist-hook: -- cgit v1.2.3