diff --git a/usr/src/grub/grub-0.97/stage2/Makefile.solaris b/usr/src/grub/grub-0.97/stage2/Makefile.solaris index bb73788..27c86ae 100644 --- a/usr/src/grub/grub-0.97/stage2/Makefile.solaris +++ b/usr/src/grub/grub-0.97/stage2/Makefile.solaris @@ -2,6 +2,7 @@ # Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # Copyright (c) 2013 by Saso Kiselkov. All rights reserved. +# Copyright 2015 RackTop Systems. # include ../../Makefile.grub include ../Makefile.solaris.defs @@ -37,7 +38,7 @@ $(OPTION_FS)GRUB_CFLAGS += -DFSYS_MINIX=1 -DFSYS_JFS=1 -DFSYS_XFS=1 \ -DSYS_VSTAFS=1 # GRUB_CFLAGS += -DSUPPORT_HERCULES=1 STAGE1_5_CFLAGS = $(STAGE2_CFLAGS) -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -STAGE2_CFLAGS = -Os -fno-builtin -nostdinc \ +STAGE2_CFLAGS = -Os -fno-reorder-functions -fno-builtin -nostdinc \ $(SERIAL_CFLAGS) $(GRAPHICS_CFLAGS) $(STAGE2_NETBOOT)STAGE2_CFLAGS += $(NETBOOT_CFLAGS) #STAGE2_CFLAGS += $(HERCULES_CFLAGS)