2016-08-25 04:40:23 -04:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
2018-07-26 06:19:28 -04:00
|
|
|
COMPONENT_ADD_INCLUDEDIRS := expat/expat/lib port/include
|
2016-08-25 04:40:23 -04:00
|
|
|
|
2018-07-26 06:19:28 -04:00
|
|
|
COMPONENT_SRCDIRS := expat/expat/lib port
|
2016-08-25 04:40:23 -04:00
|
|
|
|
2018-07-31 08:49:54 -04:00
|
|
|
CFLAGS += -DHAVE_EXPAT_CONFIG_H -DHAVE_GETRANDOM
|
2018-08-29 23:24:34 -04:00
|
|
|
ifeq ($(GCC_NOT_5_2_0), 1)
|
2018-06-14 12:11:21 -04:00
|
|
|
# Temporary suppress "fallthrough" warnings until they are fixed in expat repo
|
|
|
|
CFLAGS += -Wno-implicit-fallthrough
|
2018-08-29 23:24:34 -04:00
|
|
|
endif
|
2018-07-26 06:19:28 -04:00
|
|
|
COMPONENT_SUBMODULES += expat
|