diff options
author | Doug Ledford <dledford@redhat.com> | 2016-02-26 10:38:58 -0500 |
---|---|---|
committer | Yishai Hadas <yishaih@mellanox.com> | 2016-05-17 16:40:10 +0300 |
commit | 678f7fa7dde82b76609ac41355fe61f755d83a53 (patch) | |
tree | f1041e15a06f7268d17572f26c392855f1c17387 | |
parent | 70d200860584a0c452684566a15a23749269a979 (diff) | |
download | libibverbs-678f7fa7dde82b76609ac41355fe61f755d83a53.tar.gz |
Makefile.am: Don't allow strict aliasing by default
One of the example programs issues compiler warnings with strict
aliasing enabled in the gcc options, so disable it.
Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 7d22e06..5a58599 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,7 +3,7 @@ AM_CPPFLAGS = -I$(srcdir)/include lib_LTLIBRARIES = src/libibverbs.la ACLOCAL_AMFLAGS = -I config -AM_CFLAGS = -g -Wall +AM_CFLAGS = -g -Wall -fno-strict-aliasing src_libibverbs_la_CFLAGS = $(AM_CFLAGS) -DIBV_CONFIG_DIR=\"$(sysconfdir)/libibverbs.d\" \ $(LIBNL_CFLAGS) |