mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Remove -rdynamic compilation flag for OSX
This flag is used for the backtrace() function. It provides more information for the backtrace on Linux, but is useless on OSX. Signed-off-by: lledey <lledey@gmail.com>
This commit is contained in:
parent
56dd25667d
commit
82223d3bad
1 changed files with 4 additions and 2 deletions
|
@ -275,10 +275,12 @@ if test "$GCC" = yes; then
|
||||||
CXXFLAGS="$CXXFLAGS -Wall"
|
CXXFLAGS="$CXXFLAGS -Wall"
|
||||||
|
|
||||||
#
|
#
|
||||||
# This is needed in order to get the really cool backtraces
|
# This is needed in order to get the really cool backtraces on Linux
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if test `uname` != "Darwin"; then
|
||||||
LDFLAGS_FISH="$LDFLAGS_FISH -rdynamic"
|
LDFLAGS_FISH="$LDFLAGS_FISH -rdynamic"
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue