summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-12 02:34:36 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-12 02:34:36 +0000
commitd69369c6346ad44c6e6254547297be06014a178d (patch)
tree68c0508b3aa5a4c06556168b25bb74a16019e131 /configure.in
parent0c025fdd828cb67c13dfa06cc958a4a7623de93d (diff)
* configure.in (target_os): strip -gnu suffix on Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index a299c766b2..4bb27580f7 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;;