[configure] Add a --enable-keep-symbols configure flag.
llvm-svn: 161880
This commit is contained in:
parent
2605fef7db
commit
c9e4ff6cca
|
@ -258,6 +258,11 @@ ENABLE_WERROR = @ENABLE_WERROR@
|
||||||
#DEBUG_SYMBOLS = 1
|
#DEBUG_SYMBOLS = 1
|
||||||
@DEBUG_SYMBOLS@
|
@DEBUG_SYMBOLS@
|
||||||
|
|
||||||
|
# When KEEP_SYMBOLS is enabled, installed executables will never have their
|
||||||
|
# symbols stripped.
|
||||||
|
#KEEP_SYMBOLS = 1
|
||||||
|
@KEEP_SYMBOLS@
|
||||||
|
|
||||||
# The compiler flags to use for optimized builds.
|
# The compiler flags to use for optimized builds.
|
||||||
OPTIMIZE_OPTION := @OPTIMIZE_OPTION@
|
OPTIMIZE_OPTION := @OPTIMIZE_OPTION@
|
||||||
|
|
||||||
|
|
|
@ -542,6 +542,15 @@ else
|
||||||
AC_SUBST(DEBUG_SYMBOLS,[[DEBUG_SYMBOLS=1]])
|
AC_SUBST(DEBUG_SYMBOLS,[[DEBUG_SYMBOLS=1]])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl --enable-keep-symbols : do not strip installed executables
|
||||||
|
AC_ARG_ENABLE(keep-symbols,
|
||||||
|
AS_HELP_STRING(--enable-keep-symbols,[Do not strip installed executables)]),,enableval=no)
|
||||||
|
if test ${enableval} = "no" ; then
|
||||||
|
AC_SUBST(KEEP_SYMBOLS,[[]])
|
||||||
|
else
|
||||||
|
AC_SUBST(KEEP_SYMBOLS,[[KEEP_SYMBOLS=1]])
|
||||||
|
fi
|
||||||
|
|
||||||
dnl --enable-jit: check whether they want to enable the jit
|
dnl --enable-jit: check whether they want to enable the jit
|
||||||
AC_ARG_ENABLE(jit,
|
AC_ARG_ENABLE(jit,
|
||||||
AS_HELP_STRING(--enable-jit,
|
AS_HELP_STRING(--enable-jit,
|
||||||
|
|
Loading…
Reference in New Issue