-fno-strict-aliasing to remove a build problem on MinGW
[portablexdr.git] / Makefile.am
index e64f401..389fb7c 100644 (file)
@@ -2,4 +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
\ No newline at end of file
+libportablexdr_la_CFLAGS = -Wall -Werror -fno-strict-aliasing
+libportablexdr_la_LDFLAGS = @MINGW_EXTRA_LDFLAGS@