From 9d5f532fef2838e3a72a074d59878231ac4e2030 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 26 May 2008 09:37:24 +0000 Subject: add -fno-strict-aliasing to CFLAGS to remove bad code genereation on amd64 and warnings on all platforms --- java/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'java/Makefile.am') diff --git a/java/Makefile.am b/java/Makefile.am index cf41fef7..e843373c 100644 --- a/java/Makefile.am +++ b/java/Makefile.am @@ -14,13 +14,13 @@ javalib_LTLIBRARIES = libjlasso.la endif jlasso_la_SOURCES = lasso_wrap.c -jlasso_la_CFLAGS = $(JAVA_INCLUDE) $(LASSO_CORE_CFLAGS) -I$(top_srcdir) +jlasso_la_CFLAGS = -fno-strict-aliasing $(JAVA_INCLUDE) $(LASSO_CORE_CFLAGS) -I$(top_srcdir) jlasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) jlasso_la_LDFLAGS = -no-undefined -avoid-version -module \ -Wl,--add-stdcall-alias libjlasso_la_SOURCES = lasso_wrap.c -libjlasso_la_CFLAGS = $(JAVA_INCLUDE) $(LASSO_CORE_CFLAGS) -I$(top_srcdir) +libjlasso_la_CFLAGS = -fno-strict-aliasing $(JAVA_INCLUDE) $(LASSO_CORE_CFLAGS) -I$(top_srcdir) libjlasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) libjlasso_la_LDFLAGS = -no-undefined -avoid-version -module -- cgit