Move gcc-wrapper out of glibc into nacl-build
authorMark Seaborn <mrs@mythic-beasts.com>
Thu, 23 Apr 2009 19:12:03 +0000 (23 20:12 +0100)
committerMark Seaborn <mrs@mythic-beasts.com>
Thu, 23 Apr 2009 19:12:03 +0000 (23 20:12 +0100)
gcc-wrapper [deleted file]

diff --git a/gcc-wrapper b/gcc-wrapper
deleted file mode 100755 (executable)
index 1ebb4c7..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-set -e
-
-top=$(cd $(dirname $0)/.. && pwd)
-glibc_source=$(cd $(dirname $0) && pwd)
-glibc=$top/install
-
-$top/tools_bin/linux/sdk/nacl-sdk/bin/nacl-gcc \
-    -isystem $glibc/include -isystem $glibc_source/kernel-headers \
-    -B$glibc/lib -L$glibc/lib \
-    -L$glibc_source/ld \
-    "$@"
-
-python -c '
-import os
-import sys
-import subprocess
-for i in range(1, len(sys.argv)):
-    if sys.argv[i] == "-o":
-        subprocess.check_call(["ncrewrite", "--nop", sys.argv[i+1]])
-' "$@"