llvm.org GIT mirror llvm / 8b5bee4
[configure] Add a --enable-keep-symbols configure flag. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161880 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 7 years ago
2 changed file(s) with 14 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
257257 #DEBUG_SYMBOLS = 1
258258 @DEBUG_SYMBOLS@
259259
260 # When KEEP_SYMBOLS is enabled, installed executables will never have their
261 # symbols stripped.
262 #KEEP_SYMBOLS = 1
263 @KEEP_SYMBOLS@
264
260265 # The compiler flags to use for optimized builds.
261266 OPTIMIZE_OPTION := @OPTIMIZE_OPTION@
262267
541541 AC_SUBST(DEBUG_SYMBOLS,[[DEBUG_SYMBOLS=1]])
542542 fi
543543
544 dnl --enable-keep-symbols : do not strip installed executables
545 AC_ARG_ENABLE(keep-symbols,
546 AS_HELP_STRING(--enable-keep-symbols,[Do not strip installed executables)]),,enableval=no)
547 if test ${enableval} = "no" ; then
548 AC_SUBST(KEEP_SYMBOLS,[[]])
549 else
550 AC_SUBST(KEEP_SYMBOLS,[[KEEP_SYMBOLS=1]])
551 fi
552
544553 dnl --enable-jit: check whether they want to enable the jit
545554 AC_ARG_ENABLE(jit,
546555 AS_HELP_STRING(--enable-jit,