From 82223d3badd16ec3188294345196975600b73e6d Mon Sep 17 00:00:00 2001 From: lledey Date: Wed, 12 Dec 2012 01:14:49 +0100 Subject: 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 --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e413be09..db437ff3 100644 --- a/configure.ac +++ b/configure.ac @@ -275,10 +275,12 @@ if test "$GCC" = yes; then 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 # - LDFLAGS_FISH="$LDFLAGS_FISH -rdynamic" + if test `uname` != "Darwin"; then + LDFLAGS_FISH="$LDFLAGS_FISH -rdynamic" + fi fi -- cgit v1.2.3