diff make/linux/makefiles/product.make @ 1696:688a538aa654

Merge
author trims
date Fri, 13 Aug 2010 10:55:42 -0700
parents 126ea7725993
children 0a8e0d4345b3
line wrap: on
line diff
--- a/make/linux/makefiles/product.make	Fri Aug 06 12:51:54 2010 -0700
+++ b/make/linux/makefiles/product.make	Fri Aug 13 10:55:42 2010 -0700
@@ -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;