Commit 4d7d4a2a authored by Timo Teräs's avatar Timo Teräs

main/dahdi-linux-grsec: fix -fno-pie

parent 0e428b69
......@@ -61,15 +61,14 @@ prepare() {
build() {
cd "$srcdir/$_realname-$_dahdiver"
make KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \
KCFLAGS="-fno-pie" \
make CC="${CC:-gcc} -fno-pie" \
KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \
|| return 1
}
package() {
cd "$srcdir/$_realname-$_dahdiver"
make KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \
KCFLAGS="-fno-pie" \
DESTDIR="$pkgdir" install-modules || return 1
rm -rf "$pkgdir"/lib/firmware "$pkgdir"/usr/lib/hotplug/firmware \
"$pkgdir"/usr/include
......
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