Fixed build warning in i586, x86_64 (#283)
author최종헌/Common Platform Lab(SR)/Engineer/삼성전자 <j-h.choi@samsung.com>
Thu, 24 Sep 2020 07:52:07 +0000 (16:52 +0900)
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>
Thu, 24 Sep 2020 07:52:07 +0000 (16:52 +0900)
Change-Id: Ib243a6e405fae7bd5b278c286935b05a486c071d

NativeLauncher/tool/ni_common.cc

index eb8f8256f216582dc01e5fa47a19b232824929bc..7e0dde07e8f8db3303c0cf1a22ae9891847fd1df 100644 (file)
@@ -55,7 +55,9 @@
 
 #define __XSTR(x) #x
 #define __STR(x) __XSTR(x)
+#if defined(__arm__) || defined(__aarch64__)
 static const char* __NATIVE_LIB_DIR = __STR(NATIVE_LIB_DIR);
+#endif
 static const char* __CROSSGEN_PATH = __STR(CROSSGEN_PATH);
 static const char* __DOTNET_DIR = __STR(DOTNET_DIR);