summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authordarrenm <none@none>2007-12-06 13:15:18 -0800
committerdarrenm <none@none>2007-12-06 13:15:18 -0800
commit5b9eab5c5178bc05928d6b8f2a859e103da601d2 (patch)
tree93e418ca444340af96f7a7b47d64f2cf26ca0078 /usr/src
parenteedefb957fd12dc52be22145a83874a71050e784 (diff)
downloadillumos-gate-5b9eab5c5178bc05928d6b8f2a859e103da601d2.tar.gz
6332924 snv_24 /usr/ccs/bin/as adds new HWCAP tags to previously untagged objects (fix __GNUC build)
Contributed by Juergen Keil <jk@tools.de>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/lib/libc/i386/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/lib/libc/i386/Makefile b/usr/src/lib/libc/i386/Makefile
index ec3c3146be..00376a40a1 100644
--- a/usr/src/lib/libc/i386/Makefile
+++ b/usr/src/lib/libc/i386/Makefile
@@ -38,7 +38,8 @@ LIBRARY = libc.a
# from the object file; the internal functions with SSE instructions are
# called conditionally on systems which have SSE instruction support
pics/fpcw.o := POST_PROCESS_O += ; \
- $(ELFEDIT) -e 'cap:hw1 -and -cmp SSE' $@
-
+ if $(ELFDUMP) -H $@ | grep " SSE "; then \
+ $(ELFEDIT) -e 'cap:hw1 -and -cmp SSE' $@; \
+ fi
include Makefile.com