+2010-01-01 Robert Millan <rmh.grub@aybabtu.com>
+
+ Make ia32 libc unnecessary on amd64.
+
+ * configure.ac (CFLAGS): Move down after the basic gcc tests are
+ done. Add `-nostdlib'.
+
2009-12-24 Robert Millan <rmh.grub@aybabtu.com>
* configure.ac: Bump version to 0.6.96.
dnl Configure script for GRUB.
-dnl Copyright 1999,2000,2001,2002,2003,2004,2005,2008,2009 Free Software Foundation, Inc.
+dnl Copyright 1999,2000,2001,2002,2003,2004,2005,2008,2009,2010 Free Software Foundation, Inc.
dnl Permission to use, copy, modify and distribute this software and its
dnl documentation is hereby granted, provided that both the copyright
AC_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE
-CFLAGS="-m32 $CFLAGS"
-
#
# Programs
#
CCASFLAGS='$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)'
AC_SUBST(CCASFLAGS)
+CFLAGS="-m32 -nostdlib $CFLAGS"
dnl Output.
AC_CONFIG_FILES([Makefile docs/Makefile])