aboutsummaryrefslogtreecommitdiffstats
path: root/main/fortify-headers/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-02-25 13:29:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-02-25 13:29:39 +0000
commit254b378a1ac420913292e1acb172e7a299623aed (patch)
tree48801ddc4e58934268122986efa38fd08090d09a /main/fortify-headers/APKBUILD
parent228579f6c7663dc4107b1b418367e968513277f9 (diff)
downloadaports-254b378a1ac420913292e1acb172e7a299623aed.tar.bz2
aports-254b378a1ac420913292e1acb172e7a299623aed.tar.xz
main/fortify-headers: use builtins when possible
This helps compiler to optimize away the function call when possible.
Diffstat (limited to 'main/fortify-headers/APKBUILD')
-rw-r--r--main/fortify-headers/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/fortify-headers/APKBUILD b/main/fortify-headers/APKBUILD
index c8415affd9..e4b8b04d8a 100644
--- a/main/fortify-headers/APKBUILD
+++ b/main/fortify-headers/APKBUILD
@@ -2,13 +2,15 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=fortify-headers
pkgver=1.0
-pkgrel=0
+pkgrel=1
pkgdesc="standalone fortify source implementation"
url="http://git.2f30.org/fortify-headers/"
arch="noarch"
options="!check" # No test suite.
license="BSD-0"
-source="http://dl.2f30.org/releases/$pkgname-$pkgver.tar.gz"
+source="http://dl.2f30.org/releases/$pkgname-$pkgver.tar.gz
+ use-builtins-when-possible.patch
+ "
builddir="$srcdir"/$pkgname-$pkgver
@@ -21,4 +23,5 @@ package() {
make DESTDIR="$pkgdir" PREFIX=/usr install
}
-sha512sums="085a725da9a6da0eea732ee77e3a3dc7d3c96bc3344172523db5f1e35391492910a050c15c560912115b2db916c2d6fa37e409e997c53399ee4fee912c5513e8 fortify-headers-1.0.tar.gz"
+sha512sums="085a725da9a6da0eea732ee77e3a3dc7d3c96bc3344172523db5f1e35391492910a050c15c560912115b2db916c2d6fa37e409e997c53399ee4fee912c5513e8 fortify-headers-1.0.tar.gz
+b4c6f6b89745ef21c5e0ffbef99b95872ae46f700ce0c42617dcc39bfa52526f54e36794ad682f4a4fe54fa7c348bfc46f3367c20e3629dbd88869a48f45209e use-builtins-when-possible.patch"