hotspot/make/linux/makefiles/product.make
changeset 6176 4d9030fe341f
parent 5547 f4b087cbb361
child 7662 5f31baaff55b
--- a/hotspot/make/linux/makefiles/product.make	Wed Jul 28 17:57:43 2010 -0400
+++ b/hotspot/make/linux/makefiles/product.make	Tue Aug 03 08:13:38 2010 -0400
@@ -46,7 +46,11 @@
 
 # use -g to strip library as -x will discard its symbol table; -x is fine for
 # executables.
-STRIP = strip
+ifdef CROSS_COMPILE_ARCH
+  STRIP = $(ALT_COMPILER_PATH)/strip
+else
+  STRIP = strip
+endif
 STRIP_LIBJVM = $(STRIP) -g $@ || exit 1;
 STRIP_AOUT   = $(STRIP) -x $@ || exit 1;