summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--configure.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 86e85d564c..64a8a280f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Jun 12 11:15:53 2004 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * configure.in (target_os): strip -gnu suffix on Linux.
+
Fri Jun 11 22:08:50 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c: remove #indexes, #indices.
diff --git a/configure.in b/configure.in
index 6160643eb6..0358f1d7e0 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,
@@ -782,7 +783,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;;