hotspot/make/linux/makefiles/product.make
changeset 6176 4d9030fe341f
parent 5547 f4b087cbb361
child 7662 5f31baaff55b
equal deleted inserted replaced
6175:86dbf3cacacc 6176:4d9030fe341f
    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))