summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/depend.in4
-rw-r--r--config/gnu-flags7
-rw-r--r--config/linux-gnulibc13
3 files changed, 9 insertions, 5 deletions
diff --git a/config/depend.in b/config/depend.in
index dc72d74..7c61f4f 100644
--- a/config/depend.in
+++ b/config/depend.in
@@ -32,10 +32,10 @@ dep depend: .distdep
@for dep in $? dummy; do \
if [ $$dep != "dummy" ]; then \
echo Building dependencies for $$dep; \
- obj=`echo $$dep | sed 's/\.c/\\\\.o/'`; \
+ obj=`echo $$dep | sed 's/\.c/\\\\.lo/'`; \
sed '\%$$obj%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \
$(TRACE) $$dep; \
- $(CC) -M -MG $(CPPFLAGS) $$dep >>$@; \
+ $(CC) -M -MG $(CPPFLAGS) $$dep |sed 's/\.o/.lo/' >>$@; \
fi; \
done;
-perl -p $(top_srcdir)/bin/distdep .depend >.distdep
diff --git a/config/gnu-flags b/config/gnu-flags
index 83c0ed7..46a38f4 100644
--- a/config/gnu-flags
+++ b/config/gnu-flags
@@ -59,6 +59,13 @@ EOF
;;
esac
+# Architecture-specific flags
+case "$host_cpu" in
+ i686)
+ ARCH=${ARCH:="-mcpu=pentiumpro -march=pentiumpro -malign-double"}
+ ;;
+esac
+
# Compiler flags
case "$cc_vendor-$cc_version" in
gcc-2.7*)
diff --git a/config/linux-gnulibc1 b/config/linux-gnulibc1
index 266cd3a..e22b82d 100644
--- a/config/linux-gnulibc1
+++ b/config/linux-gnulibc1
@@ -12,9 +12,6 @@ if test "X-" = "X-$CC"; then
CC_BASENAME=gcc
fi
-# Architecture-specific flags
-ARCH=${ARCH:="-mcpu=pentiumpro -march=pentiumpro -malign-double"}
-
# Omit frame pointer for optimized code?
NOFP=${NOFP:=-fomit-frame-pointer}