]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - scripts/cpp
Correct build-many-glibcs.py arm-linux-gnueabihf configurations.
[thirdparty/glibc.git] / scripts / cpp
index 4a62f1e5ae1a5aaa6be5ed0f261949023aebb574..cb24fe2bbab9f6488f15bbdc212b6faaf6cfb6d1 100755 (executable)
@@ -1,21 +1,6 @@
-#! /bin/sh
-cpp=`which cpp 2>/dev/null`
-if test $? -ne 0; then
-  cpp=`type cpp 2>/dev/null | awk '{ print $NF }'`
-  if test $? -ne 0; then
-    cpp=`gcc -print-file-name=cpp 2>/dev/null`
-    if test $? -ne 0; then
-      if test -x /lib/cpp; then
-        cpp=/lib/cpp
-      else
-        echo "cpp not found" 1>&2
-        exit 1
-      fi
-    fi
-  fi
-fi
+#!/bin/sh
 
-exec $cpp $*
-Local Variables:
-mode: sh
-End:
+# This script is used solely by rpcgen when run by sunrpc/Makefile,
+# which passes CPP in the environment to tell us what to run.
+
+exec ${CPP} "$@"