ports/net/mosquitto/patches/patch-test_unit_Makefile

22 lines
595 B
Text

- disable coverage tests (undefined references)
- fix LDFLAGS for cunit
Index: test/unit/Makefile
--- test/unit/Makefile.orig
+++ test/unit/Makefile
@@ -1,13 +1,13 @@
include ../../config.mk
-.PHONY: all check test test-broker test-lib clean coverage
+.PHONY: all check test test-broker test-lib clean
CPPFLAGS:=$(CPPFLAGS) -I../.. -I../../include -I../../lib -I../../src
ifeq ($(WITH_BUNDLED_DEPS),yes)
CPPFLAGS:=$(CPPFLAGS) -I../../deps
endif
-CFLAGS:=$(CFLAGS) -coverage -Wall -ggdb
+CFLAGS:=$(CFLAGS) -Wall -ggdb
LDFLAGS:=$(LDFLAGS) -coverage
LDADD:=$(LDADD) -lcunit