diff options
| author | Ben Pfaff <blp@nicira.com> | 2010-07-30 14:47:29 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2010-07-30 16:04:29 -0700 |
| commit | 52af5b998fbb1b0914e995fe6f21378e394914eb (patch) | |
| tree | 2bc099048b5bba7cd9afbd23405c8d661a33892d /lib/automake.mk | |
| parent | 5682f723319241223baa7250ed215e1359dd6d8c (diff) | |
| download | openvswitch-52af5b998fbb1b0914e995fe6f21378e394914eb.tar.gz | |
sflow: Avoid "unused parameter" warnings from GCC 4.4.
With GCC -Wno-unused by itself isn't enough to avoid "unused parameter"
warnings, since we also use -Wunused-parameter. We also need to check for
and use -Wno-unused-parameter.
Diffstat (limited to 'lib/automake.mk')
| -rw-r--r-- | lib/automake.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/automake.mk b/lib/automake.mk index 0588eea55..49f4e2c77 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -168,6 +168,9 @@ lib_libsflow_a_CFLAGS = $(AM_CFLAGS) if HAVE_WNO_UNUSED lib_libsflow_a_CFLAGS += -Wno-unused endif +if HAVE_WNO_UNUSED_PARAMETER +lib_libsflow_a_CFLAGS += -Wno-unused-parameter +endif if HAVE_NETLINK lib_libopenvswitch_a_SOURCES += \ |
