aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBruce A. Mah <bmah@es.net>2014-05-19 15:02:02 -0700
committerBruce A. Mah <bmah@es.net>2014-05-19 15:02:02 -0700
commit8de51b589fa0daa00ebfee7a4ec8ee91bc968f7b (patch)
tree27b4e419ee4226ebae19a9b4f95d97266d4f18f7 /examples
parent426221a327ce8d37d4e6065d716f01422da4d16b (diff)
downloadiperf3-8de51b589fa0daa00ebfee7a4ec8ee91bc968f7b.tar.gz
Portability fixes for Solaris Sun Studio and MacOS.
Only do -Wall by default if on GCC (or something that looks like GCC, such as clang/llvm). Turn on -Werror so we can get some better error-checking, but we also need -Wno-deprecated-declarations at least for MacOS, because daemon(3) is deprecated starting with MacOS 10.5. Fixes #174 (I think). Submitted by: @marksolaris
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 3b9dc87..0f0c658 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,12 +1,12 @@
noinst_PROGRAMS = mic mis # Build, but don't install
mic_SOURCES = mic.c
-mic_CFLAGS = -g -Wall
+mic_CFLAGS = -g
mic_LDADD = ../src/libiperf.la
mic_LDFLAGS = -g
mis_SOURCES = mis.c
-mis_CFLAGS = -g -Wall
+mis_CFLAGS = -g
mis_LDADD = ../src/libiperf.la
mis_LDFLAGS = -g