From 4b91c817b60a89025d76ea55412c69112d4da433 Mon Sep 17 00:00:00 2001 From: eban Date: Sat, 12 Jun 2004 02:34:36 +0000 Subject: * configure.in (target_os): strip -gnu suffix on Linux. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ configure.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8804c9a1c..892fca230 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Jun 12 11:15:53 2004 WATANABE Hirofumi + + * configure.in (target_os): strip -gnu suffix on Linux. + Fri Jun 11 17:08:21 2004 Akinori MUSHA * config.guess: Restore a wrongly removed hyphen. diff --git a/configure.in b/configure.in index a299c766b..4bb27580f 100644 --- a/configure.in +++ b/configure.in @@ -72,6 +72,7 @@ if test "$program_prefix" = NONE; then program_prefix= fi AC_CANONICAL_TARGET +target_os=`echo $target_os | sed 's/linux-gnu$/linux/;s/linux-gnu/linux-/'` dnl checks for fat-binary AC_ARG_ENABLE(fat-binary, @@ -778,7 +779,6 @@ case "$target_os" in linux*) if test "$rb_cv_binary_elf" = no; then with_dln_a_out=yes - target_os=${target_os}-a_out else LDFLAGS="$LDFLAGS -rdynamic" fi;; -- cgit