summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2015-06-17 18:34:01 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2015-06-17 18:34:01 +0800
commitc7ee091e303f33e299e94d6d27b94b65ce9779c8 (patch)
treed396062315834b2cd74f16f744637c4797cdbfc9
parentc4159e3a68f1243e6ab32375b30dd14e4dfff48c (diff)
downloadgupnp-av-c7ee091e303f33e299e94d6d27b94b65ce9779c8.tar.gz
build: Use -Wno-unused-parameter instead of -Wno-unused-parameters
Clang doesn't support -Wno-unused-parameters. We should use the option supported by both GCC and Clang. https://bugzilla.gnome.org/show_bug.cgi?id=751102
-rw-r--r--tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6f81053..148d91e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -4,7 +4,7 @@ common_cflags = \
$(LIBGUPNP_CFLAGS) \
-I$(top_srcdir) \
$(WARN_CFLAGS) \
- -Wno-unused-parameters
+ -Wno-unused-parameter
common_ldadd = \
$(top_builddir)/libgupnp-av/libgupnp-av-1.0.la \
$(LIBGUPNP_LIBS)