aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-11-08 01:21:32 +0000
committerRoland McGrath <roland@gnu.org>2005-11-08 01:21:32 +0000
commit2ceaa76abd0414f8d935bdf3b7a6218dc20f2f4e (patch)
treeb901e42e4e4d03fdfbb80b72f6fc9ca323e28441 /Makeconfig
parent2182b1ea1796c09a90a996f01bbc48760a177b72 (diff)
downloadglibc-2ceaa76abd0414f8d935bdf3b7a6218dc20f2f4e.zip
glibc-2ceaa76abd0414f8d935bdf3b7a6218dc20f2f4e.tar.gz
glibc-2ceaa76abd0414f8d935bdf3b7a6218dc20f2f4e.tar.bz2
* configure.in: Grok --with-cpu=CPU option. If given, search for
sysdeps/.../machine/CPU subdirs, and give error if none are found. * configure: Regenerated. * config.make.in (with-cpu): New substituted variable. * Makeconfig (+cflags): Add -mcpu=$(with-cpu) if set.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index b280aa5..97f74f7 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -611,7 +611,7 @@ ifeq "$(strip $(+cflags))" ""
+cflags := $(default_cflags)
endif # $(+cflags) == ""
-+cflags := $(+cflags) $(+gccwarn)
++cflags := $(+cflags) $(addprefix -mcpu=,$(with-cpu)) $(+gccwarn)
+gcc-nowarn := -w
# Don't duplicate options if we inherited variables from the parent.