bug-grub
[Top][All Lists]
Advanced

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

[PATCH] Switch to non-deprecated compiler options


From: Jeremy Katz
Subject: [PATCH] Switch to non-deprecated compiler options
Date: 01 Oct 2002 17:16:06 -0400

The use of -m flags for align-jumps, align-loops, and align-functions is
deprecated in gcc 3.2  The following patch switches to the supported
options of -falign-jumps, -falign-loops, and -falign-functions
respectively.

Cheers,

Jeremy

Index: ChangeLog
===================================================================
RCS file: /cvsroot/grub/grub/ChangeLog,v
retrieving revision 1.522
diff -u -r1.522 ChangeLog
--- ChangeLog   13 Sep 2002 11:49:56 -0000      1.522
+++ ChangeLog   1 Oct 2002 21:11:40 -0000
@@ -1,3 +1,7 @@
+2002-10-01  Jeremy Katz  <address@hidden>
+
+       * configure.in (CPPFLAGS): Don't use deprecated compiler options.
+
 2002-09-13  Yoshinori K. Okuji  <address@hidden>
 
        * stage2/serial.c (fill_input_buf): Take a new argument NOWAIT.
Index: configure.in
===================================================================
RCS file: /cvsroot/grub/grub/configure.in,v
retrieving revision 1.72
diff -u -r1.72 configure.in
--- configure.in        8 Sep 2002 02:01:14 -0000       1.72
+++ configure.in        1 Oct 2002 21:11:41 -0000
@@ -109,7 +109,7 @@
 ])
 
 # Force no alignment to save space.
-CPPFLAGS="$CPPFLAGS -malign-jumps=1 -malign-loops=1 -malign-functions=1"
+CPPFLAGS="$CPPFLAGS -falign-jumps=1 -falign-loops=1 -falign-functions=1"
 
 if test "x$undef_flag" = xyes; then
   CPPFLAGS="$CPPFLAGS -Wundef"







reply via email to

[Prev in Thread] Current Thread [Next in Thread]