summaryrefslogtreecommitdiff
path: root/usr/src/uts
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2018-10-29 23:45:11 +0000
committerRichard Lowe <richlowe@richlowe.net>2018-11-04 19:25:51 +0000
commitb6c711cc370ad66a5c9391c71936f34bb8616e93 (patch)
treeca3f89b1a198c75fecea004c7c8f39e18d7829d4 /usr/src/uts
parentb75eb7e6b5e51c1d1a8023c478487c4f4542768f (diff)
downloadillumos-gate-b6c711cc370ad66a5c9391c71936f34bb8616e93.tar.gz
9939 Need to stop GCC reordering functions
Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts')
-rw-r--r--usr/src/uts/Makefile.uts7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/uts/Makefile.uts b/usr/src/uts/Makefile.uts
index f9eeb946fa..58bd509f19 100644
--- a/usr/src/uts/Makefile.uts
+++ b/usr/src/uts/Makefile.uts
@@ -43,7 +43,7 @@ include $(SRC)/Makefile.master
DTEXTDOM =
#
-# Keep references to $(SRC)/common relative.
+# Keep references to $(SRC)/common relative.
COMMONBASE= $(UTSBASE)/../common
#
@@ -183,7 +183,7 @@ LINT_MODULE= $(MODULE)
#
# Build the compile/assemble lines:
#
-EXTRA_OPTIONS =
+EXTRA_OPTIONS =
AS_DEFS = -D_ASM -D__STDC__=0
ALWAYS_DEFS_32 = -D_KERNEL -D_SYSCALL32 -D_DDI_STRICT
@@ -236,6 +236,7 @@ CFLAGS_uts += $(XAOPT)
CFLAGS_uts += $(CTF_FLAGS_$(CLASS))
CFLAGS_uts += $(CERRWARN)
CFLAGS_uts += $(CCNOAUTOINLINE)
+CFLAGS_uts += $(CCNOREORDER)
CFLAGS_uts += $(CGLOBALSTATIC)
CFLAGS_uts += $(EXTRA_CFLAGS)
CFLAGS_uts += $(CSOURCEDEBUGFLAGS)
@@ -324,7 +325,7 @@ CTFMERGE_GUDIR_sparc = sun4u
CTFMERGE_GUDIR_i386 = intel
CTFMERGE_GUDIR = $(CTFMERGE_GUDIR_$(MACH))
-CTFMERGE_GENUNIX = \
+CTFMERGE_GENUNIX = \
$(UTSBASE)/$(CTFMERGE_GUDIR)/genunix/$(OBJS_DIR)/genunix
#