-fno-strict-aliasing to remove a build problem on MinGW
authorrjones <rjones>
Mon, 7 Jul 2008 23:43:36 +0000 (23:43 +0000)
committerrjones <rjones>
Mon, 7 Jul 2008 23:43:36 +0000 (23:43 +0000)
Makefile.am

index d7decfa..389fb7c 100644 (file)
@@ -2,5 +2,5 @@ lib_LTLIBRARIES = libportablexdr.la
 libportablexdr_la_SOURCES = xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c \
        xdr.c xdr_intXX_t.c xdr_rec.c xdr_stdio.c \
        rpc/rpc.h rpc/types.h rpc/xdr.h
-libportablexdr_la_CFLAGS = -Wall -Werror
+libportablexdr_la_CFLAGS = -Wall -Werror -fno-strict-aliasing
 libportablexdr_la_LDFLAGS = @MINGW_EXTRA_LDFLAGS@