Commit 04f721ad authored by Timo Teräs's avatar Timo Teräs

main/spl-grsec: fix -fno-pie

parent 9d7af400
......@@ -44,7 +44,7 @@ prepare() {
build() {
cd "$builddir"
KCFLAGS="-fno-pie" \
CC="${CC:-gcc} -fno-pie" \
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
......@@ -53,12 +53,12 @@ build() {
--with-config=kernel \
--with-linux=/usr/src/linux-headers-${_abi_release} \
|| return 1
make KCFLAGS="-fno-pie" || return 1
make CC="${CC:-gcc} -fno-pie" || return 1
}
package() {
cd "$builddir"
make KCFLAGS="-fno-pie" DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install || return 1
}
dev() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment