aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-05-11 02:20:05 +0000
committerUlrich Drepper <drepper@redhat.com>2007-05-11 02:20:05 +0000
commita53fa282ac5200d5ca345a34f2a257dfe5ed2d4b (patch)
treebfb149b86d9b6395984f7da63fe11d94ad026fa8 /scripts
parent3771196d1d5ac6a4213fdb77b4974ca69cd1ae09 (diff)
downloadglibc-a53fa282ac5200d5ca345a34f2a257dfe5ed2d4b.tar
glibc-a53fa282ac5200d5ca345a34f2a257dfe5ed2d4b.tar.gz
glibc-a53fa282ac5200d5ca345a34f2a257dfe5ed2d4b.tar.bz2
glibc-a53fa282ac5200d5ca345a34f2a257dfe5ed2d4b.zip
* scripts/check-c++-types.sh: Don't use -fnu89-inline option.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-c++-types.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check-c++-types.sh b/scripts/check-c++-types.sh
index b207f12ba4..2864fe9aad 100755
--- a/scripts/check-c++-types.sh
+++ b/scripts/check-c++-types.sh
@@ -1,5 +1,5 @@
#! /bin/bash
-# Copyright (C) 2003, 2005, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -32,7 +32,7 @@
#
data=$1
shift
-cxx="$*"
+cxx=$(echo $* | sed 's/-fgnu89-inline//')
while read t; do
echo -n "$t:"
$cxx -S -xc++ -o - -D_GNU_SOURCE <(cat <<EOF