summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2010-04-10 16:18:34 +0200
committerMartin Lucina <mato@kotelna.sk>2010-04-10 16:18:34 +0200
commit770aedbd09fb1e11a4e4880da2603a517856c16c (patch)
treed98febe8e12c3d63241920b693d6e1b25639fdf6 /src
parent1dc0380e29fecd70f6299243d81f67db850db616 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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: