Drop `CFLAGS=-O0' workaround on powerpc. Should be fixed correctly now.

This commit is contained in:
Felix Zielcke 2010-01-22 21:23:40 +01:00
parent f44bf9ddd6
commit 53ee4b9dd3
2 changed files with 4 additions and 6 deletions

5
debian/changelog vendored
View File

@ -6,7 +6,10 @@ grub2 (1.98~20100120-1) unstable; urgency=low
[ Robert Millan ]
* config.in: Lower priority of grub2/linux_cmdline_default.
-- Robert Millan <rmh.debian@aybabtu.com> Wed, 20 Jan 2010 17:39:56 +0100
[ Felix Zielcke ]
* Drop `CFLAGS=-O0' workaround on powerpc. Should be fixed correctly now.
-- Felix Zielcke <fzielcke@z-51.de> Fri, 22 Jan 2010 21:23:28 +0100
grub2 (1.98~20100115-1) unstable; urgency=low

5
debian/rules vendored
View File

@ -18,12 +18,7 @@ CFLAGS := -g -Wall
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
# Avoid `_restgpr_31_x in boot is not defined' FTBFS.
ifeq (powerpc,$(DEB_HOST_ARCH_CPU))
CFLAGS += -O0
else
CFLAGS += -O2
endif
endif
CC := gcc-4.4