summaryrefslogtreecommitdiff
path: root/system/build-tools
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-15 01:10:14 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-15 01:10:14 +0000
commitcdbc4a95f55db66b30441b507b672616dde7bf47 (patch)
tree49c98bf22afb84b56f4705ba56d9422acc63eb42 /system/build-tools
parent63d1110f4d2a3f4f5786e9c19a80400a773d7ee0 (diff)
downloadpackages-cdbc4a95f55db66b30441b507b672616dde7bf47.tar.gz
packages-cdbc4a95f55db66b30441b507b672616dde7bf47.tar.bz2
packages-cdbc4a95f55db66b30441b507b672616dde7bf47.tar.xz
packages-cdbc4a95f55db66b30441b507b672616dde7bf47.zip
system/build-tools: add 'c99' wrapper
Diffstat (limited to 'system/build-tools')
-rw-r--r--system/build-tools/APKBUILD10
-rwxr-xr-xsystem/build-tools/c992
2 files changed, 6 insertions, 6 deletions
diff --git a/system/build-tools/APKBUILD b/system/build-tools/APKBUILD
index e5ff48c72..d8711390b 100644
--- a/system/build-tools/APKBUILD
+++ b/system/build-tools/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=build-tools
pkgver=1.0
-pkgrel=8
+pkgrel=9
pkgdesc="Meta-package for user development utilities"
url="https://adelielinux.org/"
arch="noarch"
@@ -25,13 +25,11 @@ makedepends_host="$depends"
options="!check"
provides="build-base"
provider_priority=10
-source=""
-
-build() {
- return 0
-}
+source="c99"
package() {
mkdir -p "$pkgdir"
+ install -D -m755 "$srcdir"/c99 "$pkgdir"/usr/bin/c99
}
+sha512sums="a1ad25f21399e94cb26afaeea1f396d2cb45aef51f83d94450f184e8791c1381242a94023734c52fed7cd9bf81298545dcc6d82d980667fb47dad48c9adb8998 c99"
diff --git a/system/build-tools/c99 b/system/build-tools/c99
new file mode 100755
index 000000000..3acf21c79
--- /dev/null
+++ b/system/build-tools/c99
@@ -0,0 +1,2 @@
+#!/bin/sh
+gcc -std=c99 -Wno-format-security $@