aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-19 12:07:03 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-19 12:07:03 +0000
commit361468f226cb99fdebd8fabb3d9428a3632dc2d1 (patch)
treea2286ad73499b75b7bd612831fded958147162fa /Makeconfig
parent210dd78238dc99d1ba27318bf81393237620b72b (diff)
downloadglibc-361468f226cb99fdebd8fabb3d9428a3632dc2d1.tar
glibc-361468f226cb99fdebd8fabb3d9428a3632dc2d1.tar.gz
glibc-361468f226cb99fdebd8fabb3d9428a3632dc2d1.tar.bz2
glibc-361468f226cb99fdebd8fabb3d9428a3632dc2d1.zip
Remove -fgnu89-inline configure test.
There is a configure test for -fgnu89-inline. This option was added in GCC 4.2, so the test is obsolete; this patch removes it. Tested for x86_64 (testsuite, and that installed shared libraries are unchanged by the patch). * configure.ac (libc_cv_gnu89_inline): Remove configure test. * configure: Regenerated. * config.make.in (gnu89-inline-CFLAGS): Remove variable. * Makeconfig (CFLAGS): Use -fgnu89-inline instead of $(gnu89-inline-CFLAGS).
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index a03db7fff1..1dc522c7ed 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -884,7 +884,7 @@ CPPFLAGS = $(config-extra-cppflags) $(CPPUNDEFS) $(CPPFLAGS-config) \
$(foreach lib,$(libof-$(basename $(@F))) \
$(libof-$(<F)) $(libof-$(@F)),$(CPPFLAGS-$(lib))) \
$(CPPFLAGS-$(<F)) $(CPPFLAGS-$(@F)) $(CPPFLAGS-$(basename $(@F)))
-override CFLAGS = -std=gnu99 $(gnu89-inline-CFLAGS) $(config-extra-cflags) \
+override CFLAGS = -std=gnu99 -fgnu89-inline $(config-extra-cflags) \
$(filter-out %frame-pointer,$(+cflags)) $(+gccwarn-c) \
$(sysdep-CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(<F)) \
$(CFLAGS-$(@F)) $(tls-model) \