summaryrefslogtreecommitdiff
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
parent3771196d1d5ac6a4213fdb77b4974ca69cd1ae09 (diff)
* scripts/check-c++-types.sh: Don't use -fnu89-inline option.
-rw-r--r--ChangeLog2
-rwxr-xr-xscripts/check-c++-types.sh4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 68b1af1d65..2451feae3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2007-05-10 Ulrich Drepper <drepper@redhat.com>
+ * scripts/check-c++-types.sh: Don't use -fnu89-inline option.
+
* sysdeps/unix/sysv/linux/sched_setaffinity.c
(__sched_setaffinity_new): If syscall was successful and
RESET_VGETCPU_CACHE is defined, use it before returning.
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