summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmarshmallow-gcc5-patchset19
1 files changed, 19 insertions, 0 deletions
diff --git a/marshmallow-gcc5-patchset b/marshmallow-gcc5-patchset
new file mode 100755
index 0000000..233d13d
--- /dev/null
+++ b/marshmallow-gcc5-patchset
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+. $(dirname $0)/functions
+
+PATCHES=0
+if [ -n "$1" ]; then
+ AOSP="$1"
+else
+ AOSP="`pwd`"
+fi
+
+if ! [ -d "$AOSP" ] && ! [ -d "$AOSP/bionic" ] && [ -d "$AOSP"/build ]; then
+ echo "This script must be run from the AOSP source directory"
+ echo "or with the AOSP source directory as its first parameter."
+ exit 1
+fi
+
+# Fix libatomic.a detection with gcc 5+
+apply --linaro build 16156/1