Commit e738e0d0 authored by Geoff Simmons's avatar Geoff Simmons

Update assertion code for compatibility with Varnish 5.2.

parent 12b6e0d3
...@@ -74,4 +74,4 @@ VAS_Fail_default(const char *func, const char *file, int line, const char *cond, ...@@ -74,4 +74,4 @@ VAS_Fail_default(const char *func, const char *file, int line, const char *cond,
abort(); abort();
} }
vas_f *VAS_Fail __attribute__((__noreturn__)) = VAS_Fail_default; vas_f *VAS_Fail_Func __attribute__((__noreturn__)) = VAS_Fail_default;
...@@ -19,7 +19,8 @@ test_parse_SOURCES = \ ...@@ -19,7 +19,8 @@ test_parse_SOURCES = \
test_parse_LDADD = \ test_parse_LDADD = \
-lm \ -lm \
../parse.$(OBJEXT) \ ../parse.$(OBJEXT) \
../assert.$(OBJEXT) ../assert.$(OBJEXT) \
@VARNISH_LIBS@
test_data_SOURCES = \ test_data_SOURCES = \
minunit.h \ minunit.h \
...@@ -70,7 +71,8 @@ test_spmcq_SOURCES = \ ...@@ -70,7 +71,8 @@ test_spmcq_SOURCES = \
test_spmcq_LDADD = \ test_spmcq_LDADD = \
../spmcq.$(OBJEXT) \ ../spmcq.$(OBJEXT) \
../assert.$(OBJEXT) ../assert.$(OBJEXT) \
@VARNISH_LIBS@
test_config_SOURCES = \ test_config_SOURCES = \
minunit.h \ minunit.h \
...@@ -84,7 +86,8 @@ test_config_SOURCES = \ ...@@ -84,7 +86,8 @@ test_config_SOURCES = \
test_config_LDADD = \ test_config_LDADD = \
../assert.$(OBJEXT) \ ../assert.$(OBJEXT) \
-lm -lm \
@VARNISH_LIBS@
test_worker_SOURCES = \ test_worker_SOURCES = \
minunit.h \ minunit.h \
......
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