make/linux/makefiles/build_vm_def.sh

Tue, 03 May 2011 18:24:55 +0400

author
dsamersoff
date
Tue, 03 May 2011 18:24:55 +0400
changeset 2839
250642c729b4
parent 2362
a5610f0862fe
child 3150
da0999c4b733
permissions
-rw-r--r--

7041156: gcc 4.6 doesn't recognise -export-dynamic option
Summary: Since -export-dynamic is a linker option, the correct way to pass it is -Xlinker -export-dynamic
Reviewed-by: dsamersoff, dholmes
Contributed-by: omajid@redhat.com

     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