xref: /titanic_51/usr/src/lib/libm/i386/Makefile (revision 057c620a8f2b46f09e91dfff7da884175a36b0a8)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
14#
15
16TARGET_ARCH=	i386
17include ../Makefile.com
18
19#
20# Without this option GCC will place floats into x87 (or wider) floating point
21# registers, ending up with better-than-ieee precision.
22#
23CFLAGS		+= -_gcc=-ffloat-store
24$(OBJS_M9XSSE)	:= CFLAGS += -xarch=sse2
25
26install: 	all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
27
28include ../Makefile.targ
29