Project

General

Profile

Bug #6482 ยป grub-gcc5.diff

Andrew Stormont, 2015-11-26 02:14 PM

View differences:

usr/src/grub/grub-0.97/stage2/Makefile.solaris
2 2
# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3 3
# Use is subject to license terms.
4 4
# Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
5
# Copyright 2015 RackTop Systems.
5 6
#
6 7
include ../../Makefile.grub
7 8
include ../Makefile.solaris.defs
......
37 38
		  -DSYS_VSTAFS=1
38 39
# GRUB_CFLAGS	+= -DSUPPORT_HERCULES=1
39 40
STAGE1_5_CFLAGS	= $(STAGE2_CFLAGS) -DNO_DECOMPRESSION=1 -DSTAGE1_5=1
40
STAGE2_CFLAGS	= -Os -fno-builtin -nostdinc \
41
STAGE2_CFLAGS	= -Os -fno-reorder-functions -fno-builtin -nostdinc \
41 42
		  $(SERIAL_CFLAGS) $(GRAPHICS_CFLAGS)
42 43
$(STAGE2_NETBOOT)STAGE2_CFLAGS	+= $(NETBOOT_CFLAGS)
43 44
#STAGE2_CFLAGS	+= $(HERCULES_CFLAGS)
    (1-1/1)