mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-02-03 18:49:28 -05:00
Get src/utils/knotd/main.c correctly from $(top_srcdir)
This commit is contained in:
parent
eca15bc22e
commit
58585dca24
2 changed files with 2 additions and 1 deletions
|
|
@ -29,6 +29,6 @@ BUILT_SOURCES = wrap/main.c
|
|||
CLEANFILES = wrap/main.c
|
||||
wrap/main.c: Makefile $(top_builddir)/src/utils/knotd/main.c
|
||||
echo '#include "afl-loop.h"' > $@
|
||||
sed -e 's/for (;;)/while (__AFL_LOOP(1000))/' $(top_builddir)/src/utils/knotd/main.c >>$@
|
||||
$(SED) -e 's/for (;;)/while (__AFL_LOOP(1000))/' $(top_srcdir)/src/utils/knotd/main.c >>$@
|
||||
|
||||
check-compile: $(check_PROGRAMS)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#pragma once
|
||||
#ifndef __AFL_COMPILER
|
||||
#define __AFL_LOOP(x) (0)
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue