summaryrefslogtreecommitdiff
path: root/usr/src/grub
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2020-01-07 13:06:23 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2020-01-07 13:06:23 +0000
commit86e0843397e5f5b2c5689563c14efc626a2d7ed4 (patch)
tree9ba4f862a58ea9da2cd096f86fa72d80757f1079 /usr/src/grub
parent9452abceb6be5f4e936e05d2d09cf42d4b85256b (diff)
parent02123a497a63fe1acfaf63446b5b19101fa6c347 (diff)
downloadillumos-joyent-86e0843397e5f5b2c5689563c14efc626a2d7ed4.tar.gz
[illumos-gate merge]
commit 02123a497a63fe1acfaf63446b5b19101fa6c347 12141 libbe cannot handle vfstab updates in NGZ commit 58e78d166bd2b5a9dda31250b8e8bad7c7548c0e 12149 mixed up 32 and 64 bit build commit f7d2fd30ef2e2b3d5779d5b0ad885081307a4512 12148 libc: _rtbootld.o needs to be built with -m32 commit bfb9edc9bd178b0ce7fa2fbe1fc66e18e316af4e 12143 scan code should check the return value of zfs_btree_first commit da9bf00574dd2845efcb9b791f4b44ecf1d1548c 12078 loader: rewrite zfs vdev initialization
Diffstat (limited to 'usr/src/grub')
-rw-r--r--usr/src/grub/grub-0.97/Makefile.solaris.defs8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/src/grub/grub-0.97/Makefile.solaris.defs b/usr/src/grub/grub-0.97/Makefile.solaris.defs
index 86e79c484b..4c9a5a81b0 100644
--- a/usr/src/grub/grub-0.97/Makefile.solaris.defs
+++ b/usr/src/grub/grub-0.97/Makefile.solaris.defs
@@ -44,9 +44,11 @@ OPTION_DOCS = $(POUND_SIGN)
OPTION_FS = $(POUND_SIGN)
-BASE_CFLAGS = -B$(GNUC_ROOT)/bin/ -g $(CPPFLAGS) $(OPTFLAGS) -std=gnu89
-BASE_CCASFLAGS = -B$(GNUC_ROOT)/bin/ -g $(CPPFLAGS) $(OPTFLAGS)
-BASE_LDFLAGS =
+BASE_CFLAGS = $($(MACH)_XARCH)
+BASE_CFLAGS += -B$(GNUC_ROOT)/bin/ -g $(CPPFLAGS) $(OPTFLAGS) -std=gnu89
+BASE_CCASFLAGS = $($(MACH)_XARCH)
+BASE_CCASFLAGS += -B$(GNUC_ROOT)/bin/ -g $(CPPFLAGS) $(OPTFLAGS)
+BASE_LDFLAGS = $($(MACH)_XARCH)
CC = $(GNUC_ROOT)/bin/gcc
CFLAGS = $(BASE_CFLAGS)