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

Merge
author trims
date Fri, 13 Aug 2010 10:55:42 -0700
parents 126ea7725993
children 0a8e0d4345b3
comparison
equal deleted inserted replaced
1673:6709c14587c2 1696:688a538aa654
44 SYSDEFS += -DPRODUCT 44 SYSDEFS += -DPRODUCT
45 VERSION = optimized 45 VERSION = optimized
46 46
47 # use -g to strip library as -x will discard its symbol table; -x is fine for 47 # use -g to strip library as -x will discard its symbol table; -x is fine for
48 # executables. 48 # executables.
49 STRIP = strip 49 ifdef CROSS_COMPILE_ARCH
50 STRIP = $(ALT_COMPILER_PATH)/strip
51 else
52 STRIP = strip
53 endif
50 STRIP_LIBJVM = $(STRIP) -g $@ || exit 1; 54 STRIP_LIBJVM = $(STRIP) -g $@ || exit 1;
51 STRIP_AOUT = $(STRIP) -x $@ || exit 1; 55 STRIP_AOUT = $(STRIP) -x $@ || exit 1;
52 56
53 # Don't strip in VM build; JDK build will strip libraries later 57 # Don't strip in VM build; JDK build will strip libraries later
54 # LINK_LIB.CC/POST_HOOK += $(STRIP_$(LINK_INTO)) 58 # LINK_LIB.CC/POST_HOOK += $(STRIP_$(LINK_INTO))