[alleyoop] Add -fno-strict-aliasing to CFLAGS



commit ee8783416862acf879789d96755eabe4fc0ecf0e
Author: Jeffrey Stedfast <fejj gnome org>
Date:   Wed Feb 3 14:08:31 2010 -0500

    Add -fno-strict-aliasing to CFLAGS
    
    2010-02-03  Jeffrey Stedfast  <fejj novell com>
    
    	* configure.in: Add -fno-strict-aliasing to CFLAGS.

 ChangeLog       |    4 ++++
 configure.in    |    9 ++++++---
 src/Makefile.am |    4 ++--
 3 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 28e18a3..f422fe2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-03  Jeffrey Stedfast  <fejj novell com>
+
+	* configure.in: Add -fno-strict-aliasing to CFLAGS.
+
 2009-11-24  Jeffrey Stedfast  <fejj novell com>
 
 	* configure.in: We now require glib-2.0 >= 2.14 for GRegex.
diff --git a/configure.in b/configure.in
index b203f0e..02f2900 100644
--- a/configure.in
+++ b/configure.in
@@ -78,9 +78,12 @@ if test "x$enable_vgstrpool" = "xyes"; then
   AC_DEFINE(ENABLE_STRPOOL,1,[Enable the use of vgstrpool.c (an attempt at keeping memory usage down).])
 fi
 
-PKG_CHECK_MODULES(PACKAGE, glib-2.0 >= 2.14 gtk+-2.0 libglade-2.0 libgnomeui-2.0 gconf-2.0)
-AC_SUBST(PACKAGE_CFLAGS)
-AC_SUBST(PACKAGE_LIBS)
+PKG_CHECK_MODULES(GNOME, glib-2.0 >= 2.14 gtk+-2.0 libglade-2.0 libgnomeui-2.0 gconf-2.0)
+AC_SUBST(GNOME_CFLAGS)
+AC_SUBST(GNOME_LIBS)
+
+CFLAGS="$CFLAGS -fno-strict-aliasing"
+AC_SUBST(CFLAGS)
 
 AC_OUTPUT([
 Makefile
diff --git a/src/Makefile.am b/src/Makefile.am
index b255b02..c79cdb5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,7 +5,7 @@ INCLUDES = \
 	-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" 	\
 	-DPACKAGE_GLADE_DIR=\""$(gladedir)"\"				\
 	@DISABLE_DEPRECATED@						\
-	@PACKAGE_CFLAGS@
+	@GNOME_CFLAGS@
 
 bin_PROGRAMS=alleyoop
 
@@ -60,7 +60,7 @@ alleyoop_SOURCES = 		\
 	vgtoolview.h		\
 	main.c
 
-alleyoop_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
+alleyoop_LDADD = @GNOME_LIBS@ $(INTLLIBS)
 
 vgmarshal.h: vgmarshal.list
 	( @GLIB_GENMARSHAL@ --prefix=vg_marshal $(srcdir)/vgmarshal.list --header > vgmarshal.h.tmp \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]