From: Robert Millan Date: Fri, 1 Jan 2010 18:54:44 +0000 (+0000) Subject: 2010-01-01 Robert Millan X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5595c7b3b7e5dcc2a3a0ce5f240fcb0cbcf458ee;p=thirdparty%2Fgrub.git 2010-01-01 Robert Millan Make ia32 libc unnecessary on amd64. * configure.ac (CFLAGS): Move down after the basic gcc tests are done. Add `-nostdlib'. --- diff --git a/ChangeLog b/ChangeLog index a4d1cbae1..055db92e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-01-01 Robert Millan + + 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 * configure.ac: Bump version to 0.6.96. diff --git a/configure.ac b/configure.ac index 2b1e812e6..6ce920ae5 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ 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 @@ -18,8 +18,6 @@ AC_CONFIG_SRCDIR([docs/multiboot.texi]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE -CFLAGS="-m32 $CFLAGS" - # # Programs # @@ -44,6 +42,7 @@ dnl Because recent automake complains about CCASFLAGS, set it here. CCASFLAGS='$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)' AC_SUBST(CCASFLAGS) +CFLAGS="-m32 -nostdlib $CFLAGS" dnl Output. AC_CONFIG_FILES([Makefile docs/Makefile])