diff options
Diffstat (limited to 'mcld-device-build.mk')
-rw-r--r-- | mcld-device-build.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mcld-device-build.mk b/mcld-device-build.mk index 87bc0b7..744edcf 100644 --- a/mcld-device-build.mk +++ b/mcld-device-build.mk @@ -23,6 +23,10 @@ ifeq ($(MCLD_ENABLE_ASSERTION),true) -UNDEBUG endif +ifeq ($(HOST_OS),darwin) +LOCAL_CFLAGS += -DDARWIN_FLEX=1 +endif + # Make sure bionic is first so we can include system headers. LOCAL_C_INCLUDES := \ bionic \ |