Disable PIE in MacOS X Lion, thus pdump works again...
authorNelson Ferreira <nelson.ferreira@ieee.org>
Thu, 1 Dec 2011 17:37:29 +0000 (12:37 -0500)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Thu, 1 Dec 2011 17:37:29 +0000 (12:37 -0500)
commitb5566067355dbdabd4da4597c03e6a21ec262cb7
treeaedbd918aebab8f10df33cc35248617d6851bc96
parent61340e710adcb3682ffb5c8a9476115359d8e1d2
Disable PIE in MacOS X Lion, thus pdump works again...

* configure.ac: If darwin linker supports -no_pie, add it
* m4/sxe-bldenv.m4 (SXE_LD_NO_PIE): New function to check if the
linker supports -no_pie.
* m4/sxe-compiler.m4 (SXE_CHECK_CC_CHAR): Invoke the linker check for -no_pie

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
configure.ac
m4/sxe-bldenv.m4
m4/sxe-compiler.m4