diff options
author | Matthew Booth <mbooth@redhat.com> | 2011-04-07 15:30:54 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-04-07 16:37:20 +0100 |
commit | 3a84e0784e1e3ab7b56850d0f8c9aa42f1ae3da1 (patch) | |
tree | b48d5f29ed2bedb87305fd54de1633bf796322fb /fish | |
parent | 6ea263b1f141614e7693a38b13e8f368237760a2 (diff) | |
download | libguestfs-3a84e0784e1e3ab7b56850d0f8c9aa42f1ae3da1.tar.gz libguestfs-3a84e0784e1e3ab7b56850d0f8c9aa42f1ae3da1.tar.xz libguestfs-3a84e0784e1e3ab7b56850d0f8c9aa42f1ae3da1.zip |
Compile rpcgen-generated files with -fno-strict-aliasing
rpcgen generates source which can't be safely compiled with strict-aliasing
enabled.
Diffstat (limited to 'fish')
-rw-r--r-- | fish/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fish/Makefile.am b/fish/Makefile.am index 6c856713..f6354c40 100644 --- a/fish/Makefile.am +++ b/fish/Makefile.am @@ -99,10 +99,10 @@ guestfish_SOURCES = \ tilde.c \ time.c -# This convenience library is solely to avoid compiler warnings -# in its generated sources. -librc_protocol_la_SOURCES = rc_protocol.c -librc_protocol_la_CFLAGS = -Wall -Wno-unused +# This convenience library is solely to compile its generated sources with +# custom flags. +librc_protocol_la_SOURCES = rc_protocol.c rc_protocol.h +librc_protocol_la_CFLAGS = -Wall -Wno-unused -fno-strict-aliasing # Build the command lookup perfect hash code. The generated code has # lots of warnings so we must compile it in a separate mini-library. |