make/bsd/makefiles/build_vm_def.sh

Mon, 05 Dec 2011 14:55:16 -0800

author
dcubed
date
Mon, 05 Dec 2011 14:55:16 -0800
changeset 3304
8657ec177a14
parent 3156
f08d439fab8c
child 5299
91acb82a8b7a
permissions
-rw-r--r--

7117748: SA_APPLE_BOOT_JAVA and ALWAYS_PASS_TEST_GAMMA settings should not be required on MacOS X
Summary: Replace SA_APPLE_BOOT_JAVA with logic that checks the boot JDK for the location of JDI classes. ALWAYS_PASS_TEST_GAMMA is true by default on Darwin.
Reviewed-by: kvn, swingler

     1 #!/bin/sh
     3 # If we're cross compiling use that path for nm
     4 if [ "$CROSS_COMPILE_ARCH" != "" ]; then 
     5 NM=$ALT_COMPILER_PATH/nm
     6 else
     7 NM=nm
     8 fi
    10 $NM --defined-only $* | awk '
    11    { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" }
    12    '

mercurial