summaryrefslogtreecommitdiff
path: root/usr/src/common/mapfiles
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-08-31 15:22:38 +0000
committerDan McDonald <danmcd@joyent.com>2018-10-03 20:34:40 -0400
commitaa9ef484c6f8ecee85dfefdb4970c50cfa2db302 (patch)
tree784f6d1dc71a84c6409cb09a0fbfd17adaee779e /usr/src/common/mapfiles
parentbdc560ab289d67ddebad9a2146fd36c2662d88b1 (diff)
downloadillumos-gate-aa9ef484c6f8ecee85dfefdb4970c50cfa2db302.tar.gz
9128 cw(1onbld) should be able to run multiple shadows
9129 file-locking tests shouldn't build multiple source files in one compiler invocation 9130 DTrace tst.gcc.d isn't useful 9132 cw(1onbld) shouldn't shadow pure preprocessing Portions contributed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Andy Fiddaman <omnios@citrus-it.net> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/common/mapfiles')
-rw-r--r--usr/src/common/mapfiles/gen/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/usr/src/common/mapfiles/gen/Makefile b/usr/src/common/mapfiles/gen/Makefile
index 6990ae59f9..6b22b34116 100644
--- a/usr/src/common/mapfiles/gen/Makefile
+++ b/usr/src/common/mapfiles/gen/Makefile
@@ -27,13 +27,12 @@
include $(SRC)/Makefile.master
-FILES= \
- $(MACH)_cc_map.noexeglobs \
- $(MACH)_gcc_map.noexeglobs
-$(BUILD64)FILES += \
- $(MACH64)_cc_map.noexeglobs \
- $(MACH64)_gcc_map.noexeglobs
+$(__GNUC)FILES= $(MACH)_gcc_map.noexeglobs
+$(__SUNC)FILES= $(MACH)_cc_map.noexeglobs
+
+$(__GNUC)$(BUILD64)FILES += $(MACH64)_gcc_map.noexeglobs
+$(__SUNC)$(BUILD64)FILES += $(MACH64)_cc_map.noexeglobs
SYMS1= syms.1
SYMS2= syms.2
@@ -73,12 +72,9 @@ clobber: clean
$(MACH)_cc_map.noexeglobs := LINK = $(LINK.c)
$(MACH64)_cc_map.noexeglobs := LINK = $(LINK64.c)
-
-$(MACH)_gcc_map.noexeglobs := CC = $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
$(MACH)_gcc_map.noexeglobs := LINK = $(LINK.c)
-$(MACH64)_gcc_map.noexeglobs := CC = $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc
$(MACH64)_gcc_map.noexeglobs := LINK = $(LINK64.c)
-
+
# This generic target creates two dynamic executables from an empty "main"
# program. These objects are not executed, but are analyzed to determine the
# global symbols each provides.