components/python/python27/Makefile
changeset 774 d0cbca26a17c
parent 634 bd9c94f9f6e0
child 800 2ad056ed89ec
--- a/components/python/python27/Makefile	Tue Apr 17 10:38:01 2012 -0700
+++ b/components/python/python27/Makefile	Tue Apr 17 10:40:54 2012 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
 
 #
 include ../../../make-rules/shared-macros.mk
@@ -61,7 +61,12 @@
 # requirements.
 COMPONENT_BUILD_TARGETS = profile-opt
 XPROFILE_DIR = $(BUILD_DIR_$(BITS))/.profile
-PYFLAGS.i386 = -xtarget=opteron -xarch=sse2 -xcache=generic
+# the non-clang compiler we need to use for now doesn't like
+# this flag
+#ifneq   ($(strip $(PARFAIT_BUILD)),yes)
+PYFLAGS.i386 = -xtarget=opteron
+#endif
+PYFLAGS.i386 += -xarch=sse2 -xcache=generic
 PYFLAGS.sparc =
 CFLAGS += -xO5 $(PYFLAGS.$(MACH))
 LDFLAGS += -xO5 $(PYFLAGS.$(MACH))