--- a/components/python/python26/Makefile Tue Apr 17 10:38:01 2012 -0700
+++ b/components/python/python26/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
@@ -57,7 +57,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))