Skip to content

Commit 7cb9f65

Browse files
author
Arto Kinnunen
authored
Enable COAP traces in Linux builds (#82)
1 parent b1c9efb commit 7cb9f65

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ COAPSERVICE_DIR := ../coap-service
3535
override CFLAGS += -I$(COAPSERVICE_DIR)/coap-service/
3636
override CFLAGS += -I$(COAPSERVICE_DIR)/source/include/
3737

38+
ifeq (Linux,$(shell uname))
39+
override CFLAGS += -DHAVE_DEBUG
40+
endif
41+
3842
LIB = libcoap-service.a
3943

4044
SRCS := \

0 commit comments

Comments
 (0)