summaryrefslogtreecommitdiffstats
path: root/taskcluster/scripts/misc/build-gn-linux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'taskcluster/scripts/misc/build-gn-linux.sh')
-rwxr-xr-xtaskcluster/scripts/misc/build-gn-linux.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/taskcluster/scripts/misc/build-gn-linux.sh b/taskcluster/scripts/misc/build-gn-linux.sh
new file mode 100755
index 0000000000..f6fd9fd507
--- /dev/null
+++ b/taskcluster/scripts/misc/build-gn-linux.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+set -e -v
+
+# This script is for building GN on Linux.
+
+WORKSPACE=$HOME/workspace
+export CC=gcc
+export CXX=g++
+export LDFLAGS=-lrt
+
+cd $GECKO_PATH
+
+. taskcluster/scripts/misc/build-gn-common.sh