diff options
author | Richard Lowe <richlowe@richlowe.net> | 2018-02-11 18:58:28 +0000 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2020-10-13 13:51:13 -0400 |
commit | 85f4cb87104c72587029a6e0f1663332c85ba118 (patch) | |
tree | 5ebef4ca549bc6422ac6b0627c440e7a7fbab167 /usr/src/common | |
parent | 0a36db39c3cd88f4799ecd9db875f43d834d0a81 (diff) | |
download | illumos-joyent-85f4cb87104c72587029a6e0f1663332c85ba118.tar.gz |
13184 Stop translating ld(1) options through cw(1)
Reviewed by: Jason King <jason.brian.king+illumos@gmail.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Approved by: Robert Mustacchi <rm@fingolfin.org>
Diffstat (limited to 'usr/src/common')
-rw-r--r-- | usr/src/common/mapfiles/gen/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/common/mapfiles/gen/Makefile b/usr/src/common/mapfiles/gen/Makefile index f49787d1fa..300683f981 100644 --- a/usr/src/common/mapfiles/gen/Makefile +++ b/usr/src/common/mapfiles/gen/Makefile @@ -92,10 +92,10 @@ $(MACH64)_gcc_map.noexeglobs := LINK = $(LINK64.c) # global. %map.noexeglobs:main.c $(TEMPLATE1) $(TEMPLATE2) - $(LINK) -o $(MAIN1) -M$(TEMPLATE1) main.c + $(LINK) -o $(MAIN1) -Wl,-M$(TEMPLATE1) main.c $(ELFDUMP) -s -N.dynsym $(MAIN1) | $(EGREP) "WEAK|GLOB" | \ $(GREP) -v UNDEF | $(AWK) '{print $$9 }' | $(SORT) > $(SYMS1) - $(LINK) -o $(MAIN2) -M$(TEMPLATE2) main.c + $(LINK) -o $(MAIN2) -Wl,-M$(TEMPLATE2) main.c $(ELFDUMP) -s -N.dynsym $(MAIN2) | $(EGREP) "WEAK|GLOB" | \ $(GREP) -v UNDEF | $(AWK) '{print $$9 }' | $(SORT) > $(SYMS2) $(ECHO) "# GENERATED FILE - DO NOT EDIT" > $@ |