From cdbc4a95f55db66b30441b507b672616dde7bf47 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 15 Jun 2019 01:10:14 +0000 Subject: system/build-tools: add 'c99' wrapper --- system/build-tools/APKBUILD | 10 ++++------ system/build-tools/c99 | 2 ++ 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100755 system/build-tools/c99 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 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 $@ -- cgit v1.2.3-70-g09d2