<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>tools/grub-stage1-Makefile.in.patch</filename>
    </added>
    <added>
      <filename>tools/grub-stage2-Makefile.in.patch</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -22,15 +22,27 @@ cd grub-0.97
 if [ ! -f configure-unpatched ]; then
     echo &quot;Patching GRUB configure&quot;
     cp configure configure-unpatched
-    patch --verbose -u -l &lt; ../../grub-configure.patch
+    patch --verbose -p0 -u -l &lt; ../../grub-configure.patch
+fi
+
+if [ ! -f stage1/Makefile.in-unpatched ]; then
+    echo &quot;Patching stage1/Makefile.in&quot;
+    cp stage1/Makefile.in stage1/Makefile.in-unpatched
+    patch --verbose -p0 -u -l &lt; ../../grub-stage1-Makefile.in.patch
+fi
+
+if [ ! -f stage2/Makefile.in-unpatched ]; then
+    echo &quot;Patching stage2/Makefile.in&quot;
+    cp stage2/Makefile.in stage2/Makefile.in-unpatched
+    patch --verbose -p0 -u -l &lt; ../../grub-stage2-Makefile.in.patch
 fi
 
 if [ ! -f Makefile ]; then
-    CFLAGS=-m32\ -fno-stack-protector LDFLAGS=-m32 ./configure --host=i686-pc-linux-gnu --disable-ext2fs --disable-ffs --disable-iso9660 --disable-jfs --disable-minix --disable-reiserfs --disable-ufs2 --disable-vstafs --disable-xfs
+    CFLAGS=-m32\ -fno-stack-protector\ -Wl,--build-id=none LDFLAGS=-m32 ./configure --host=i686-pc-linux-gnu --disable-ext2fs --disable-ffs --disable-iso9660 --disable-jfs --disable-minix --disable-reiserfs --disable-ufs2 --disable-vstafs --disable-xfs
 else
     echo &quot;Not running ./configure, Makefile exists already&quot;
 fi
 
 make
 
-echo &quot;GRUB 0.97 has been built successfully&quot;
\ No newline at end of file
+echo &quot;GRUB 0.97 has been built successfully&quot;</diff>
      <filename>tools/create_grub.sh</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>206cca1802d0a4ed81b1bd811552e3911caf34b4</id>
    </parent>
  </parents>
  <author>
    <name>Arlen Cuss</name>
    <email>celtic@tsunagari.(none)</email>
  </author>
  <url>http://github.com/celtic/akari/commit/caa75a5bdf278f5648fef6eb5bbfc7396e77b122</url>
  <id>caa75a5bdf278f5648fef6eb5bbfc7396e77b122</id>
  <committed-date>2009-11-03T02:39:31-08:00</committed-date>
  <authored-date>2009-11-03T02:39:31-08:00</authored-date>
  <message>Hey, it works if we do this! Making create_grub.sh really work, add more patches to GRUB so x64 xcompile works.</message>
  <tree>9533dbf63fd1f58ce0821068190c66f5d71c5893</tree>
  <committer>
    <name>Arlen Cuss</name>
    <email>celtic@tsunagari.(none)</email>
  </committer>
</commit>
