components/python/simplejson/Makefile
changeset 3659 2110c4baed8f
parent 3639 f8449ec64ef3
child 3817 30b42c38bbc4
--- a/components/python/simplejson/Makefile	Tue Jan 20 17:57:37 2015 -0800
+++ b/components/python/simplejson/Makefile	Wed Jan 21 07:59:43 2015 -0800
@@ -51,11 +51,9 @@
 
 # The additional simplejson specific set of transforms to be applied
 # to the test results to try to normalize them.
-# The cc lines need to be deleted because x86 and SPARC have different
-# compile line arguments.
 COMPONENT_TEST_TRANSFORMS += \
-	'-e "/^\/ws\/on12-tools\/SUNWspro\/solarisstudio12.3\/bin\/cc/d" ' \
-	'-e "/^cc -G /d" ' \
+	'-e "s|\(^$(CC)\).*|\\$$(CC)|" ' \
+	'-e "s|\(^cc -G \).*|\1|" ' \
 	'-e "s|\(creating build/temp.solaris\).*|\1|" ' \
 	'-e "s|\(Ran 132 tests in\).*|\1|" '