Mercurial > hg > graal-compiler
comparison make/linux/makefiles/product.make @ 1681:126ea7725993
6953477: Increase portability and flexibility of building Hotspot
Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
author | bobv |
---|---|
date | Tue, 03 Aug 2010 08:13:38 -0400 |
parents | c18cbe5936b8 |
children | 0a8e0d4345b3 |
comparison
equal
deleted
inserted
replaced
1680:a64438a2b7e8 | 1681:126ea7725993 |
---|---|
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)) |