diff --git a/grub.spec b/grub.spec index 5183602..d1e98b9 100644 --- a/grub.spec +++ b/grub.spec @@ -58,7 +58,7 @@ sed -i 's/0\.97/%{version}-%{release}/' configure.in autoreconf autoconf GCCVERS=$(gcc --version | head -1 | cut -d\ -f3 | cut -d. -f1) -CFLAGS="-O0 -g -fno-strict-aliasing -Wall -Werror -Wno-shadow -Wno-unused" +CFLAGS="-O0 -g -fno-reorder-functions -fno-strict-aliasing -Wall -Werror -Wno-shadow -Wno-unused" if [ "$GCCVERS" == "4" ]; then CFLAGS="$CFLAGS -Wno-pointer-sign" fi