From 118f4e383c52802e2888c2950d7ebf5ca6a24714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E5=86=AC=E7=94=9F?= Date: Mon, 18 Feb 2019 00:24:08 +0800 Subject: [PATCH] same update as .gitignore --- .gitattributes | 6 ++---- vendor/tmp.xi21zqPPyF | 11 +++++++++++ 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100755 vendor/tmp.xi21zqPPyF diff --git a/.gitattributes b/.gitattributes index ab1ba7f..ec7e7df 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,7 +1,5 @@ * text eol=lf su-exec -text -su-exec-glibc-shared -text -su-exec-glibc-static -text -su-exec-musl-shared -text -su-exec-musl-static -text +su-exec-*shared* -text +su-exec-*static* -text diff --git a/vendor/tmp.xi21zqPPyF b/vendor/tmp.xi21zqPPyF new file mode 100755 index 0000000..e523827 --- /dev/null +++ b/vendor/tmp.xi21zqPPyF @@ -0,0 +1,11 @@ +#!/bin/sh + +apk update +apk add gcc musl-dev + +cd /opt/ + +gcc -std=gnu99 -Os -Wall -Wextra -pedantic -o su-exec-musl-static su-exec.c -static +gcc -std=gnu99 -Os -Wall -Wextra -pedantic -s -o su-exec-musl-shared su-exec.c + +du -ks su-exec-musl-*