From 4e58b46acb1dab41ee68e83ef385e01345de437c Mon Sep 17 00:00:00 2001 From: jwz Date: Fri, 26 Aug 2022 18:16:16 +0800 Subject: [PATCH] modify for OHOS_ENABLE_PARAMETER Signed-off-by: jwz --- musl_template.gni | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/musl_template.gni b/musl_template.gni index 1138774b..7bd64137 100644 --- a/musl_template.gni +++ b/musl_template.gni @@ -187,7 +187,6 @@ template("musl_libs") { defines += [ "OHOS_DNS_PROXY_BY_NETSYS=1", "OHOS_PERMISSION_INTERNET=1", - "OHOS_ENABLE_PARAMETER", ] } @@ -472,6 +471,7 @@ template("musl_libs") { deps = porting_deps if (is_standard_system) { + defines += [ "OHOS_ENABLE_PARAMETER" ] deps += [ "//base/startup/init/services/param/base:parameterbase" ] } } @@ -495,6 +495,7 @@ template("musl_libs") { "//third_party/musl:musl_copy_inc_sys", ] if (is_standard_system) { + defines = [ "OHOS_ENABLE_PARAMETER" ] deps += [ "//base/startup/init/services/param/base:parameterbase" ] } -- GitLab