summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
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