aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2008-08-18 09:42:17 +0000
committerRoland McGrath <roland@gnu.org>2008-08-18 09:42:17 +0000
commit2cf9ad5752c4a5949409fd7fad986552d1bc6a99 (patch)
tree4f481e84618a9de54dfa63a21e8f2e9345c698ef /Makeconfig
parent7df49c5d81b9f8ea55f16af939e0662d24cc099e (diff)
downloadglibc-2cf9ad5752c4a5949409fd7fad986552d1bc6a99.zip
glibc-2cf9ad5752c4a5949409fd7fad986552d1bc6a99.tar.gz
glibc-2cf9ad5752c4a5949409fd7fad986552d1bc6a99.tar.bz2
2008-08-18 Roland McGrath <roland@redhat.com>
* configure.in (--with-cpu): Check compiler support for -march/-mcpu. * configure: Regenerated. * config.make.in (cflags-cpu): New substituted variable. (with-cpu): Variable removed. * Makeconfig (+cflags): Use $(cflags-cpu), not $(with-cpu).
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index a78615e..83e1409 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -643,7 +643,7 @@ ifeq "$(strip $(+cflags))" ""
+cflags := $(default_cflags)
endif # $(+cflags) == ""
-+cflags += $(addprefix -mcpu=,$(with-cpu)) $(+gccwarn) $(+merge-constants)
++cflags += $(cflags-cpu) $(+gccwarn) $(+merge-constants)
+gcc-nowarn := -w
# Don't duplicate options if we inherited variables from the parent.