1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in (debugflags): use gdb by default on linux and

darwin.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-09-11 05:22:46 +00:00
parent c1dff9b357
commit d328ffff91
2 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,7 @@
Fri Sep 11 14:19:27 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
Fri Sep 11 14:22:45 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (debugflags): use gdb by default on linux and
darwin.
* configure.in (XLDFLAGS): keep ARCHFILE macro on AIX.

View file

@ -239,13 +239,17 @@ fi
AC_PROG_CC
AC_PROG_CXX
AC_PROG_GCC_TRADITIONAL
test $ac_cv_prog_cc_g = yes && : ${debugflags=-g}
if test "$GCC" = yes; then
linker_flag=-Wl,
: ${optflags=-O3}
case "$target_os" in
when(linux*|darwin*)
: ${debugflags=-ggdb};;
esac
else
linker_flag=
fi
test $ac_cv_prog_cc_g = yes && : ${debugflags=-g}
RUBY_PROG_GNU_LD
RUBY_CPPOUTFILE