Merge "init: Fix -DUSER_MODE_LINUX compilation"

This commit is contained in:
Treehugger Robot 2017-08-24 01:14:36 +00:00 committed by Gerrit Code Review
commit 9a38df3f5f
2 changed files with 3 additions and 4 deletions

View File

@ -54,6 +54,9 @@ cc_defaults {
"-DSHUTDOWN_ZERO_TIMEOUT=1",
],
},
uml: {
cppflags: ["-DUSER_MODE_LINUX"],
}
},
}

View File

@ -30,10 +30,6 @@ endif
init_options += -DLOG_UEVENTS=0
ifeq ($(TARGET_USER_MODE_LINUX), true)
init_cflags += -DUSER_MODE_LINUX
endif
init_cflags += \
$(init_options) \
-Wall -Wextra \