diff options
author | Toomas Soome <tsoome@me.com> | 2018-08-17 14:45:35 +0300 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2018-08-20 13:36:29 -0400 |
commit | e153cda9f9660e385e8f468253f80e59f5d454d7 (patch) | |
tree | f406b80edcb18dbd29d465705d1d40828675d388 | |
parent | d23a2a081683858fbc9fafc163b60bbd8c9ede13 (diff) | |
download | illumos-joyent-e153cda9f9660e385e8f468253f80e59f5d454d7.tar.gz |
9754 grub: recent gcc needs -fno-reorder-functions
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/grub/grub-0.97/Makefile.solaris.defs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/grub/grub-0.97/Makefile.solaris.defs b/usr/src/grub/grub-0.97/Makefile.solaris.defs index 6635364191..a7e68a5239 100644 --- a/usr/src/grub/grub-0.97/Makefile.solaris.defs +++ b/usr/src/grub/grub-0.97/Makefile.solaris.defs @@ -76,6 +76,7 @@ LINK = $(CCLD) $(LINKFLAGS) $(LDFLAGS) DEFS = -DHAVE_CONFIG_H -DSOLARIS_NETBOOT OPTFLAGS = -falign-jumps=1 -falign-loops=1 -falign-functions=1 +OPTFLAGS += -fno-reorder-functions #WARNFLAGS = -Wall -Wmissing-prototypes -Wunused -Wshadow \ # -Wpointer-arith -Wundef |