[posix-app] add $(OPENTHREAD_TARGET_DEFINES) to CPPFLAGS_COMMON in Makefiles. (#3041)

This commit is contained in:
Abtin Keshavarzian
2018-09-07 07:21:04 -10:00
committed by Jonathan Hui
parent 144a4e3e06
commit 0d0c04ece2
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -51,6 +51,7 @@ CPPFLAGS_COMMON = \
-I$(top_srcdir)/src/core \
-I$(top_srcdir)/src/posix/platform \
-D_GNU_SOURCE \
$(OPENTHREAD_TARGET_DEFINES) \
$(NULL)
LIBTOOLFLAGS_COMMON = --preserve-dup-deps
+1
View File
@@ -36,6 +36,7 @@ libopenthread_posix_a_CPPFLAGS = \
-I$(top_srcdir)/src/ncp \
-I$(top_srcdir)/src/posix/platform \
-D_GNU_SOURCE \
$(OPENTHREAD_TARGET_DEFINES) \
$(NULL)
libopenthread_posix_a_SOURCES = \