Commit e1e42c5d authored by Jakub Jirutka's avatar Jakub Jirutka

community/knot-resolver: fix segfault in stats module

This is a backport from master branch. Note that I've checked that
this version segfaults too, but I didn't check if it really segfaults
from the exactly same reason.
parent d24a28c3
......@@ -2,7 +2,7 @@
# Maintainer: tcely <>
pkgdesc="Minimalistic caching DNS resolver implementation"
# luajit is not available for disabled arches
......@@ -41,6 +41,10 @@ prepare() {
build() {
# strict-aliasing breaks stats module - variable "sa" in stats.c:495 is 0x0.
# (
export CFLAGS="$CFLAGS -fno-strict-aliasing"
make $_flags
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