summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyungju Lee <leee.lee@samsung.com>2018-08-29 16:56:17 +0900
committerGleb Balykov <g.balykov@samsung.com>2018-08-29 19:02:21 +0300
commit90a3238ec32bb81b0e8b3a3b1069246ef51e9ca7 (patch)
treed447c3c704c48f722f72c2ecc726e7baeff1ee36
parentb043144f0ebcc525b69222b90bdc01732566f582 (diff)
downloadcoreclr-submit/tizen_base/20180829.160718.tar.gz
coreclr-submit/tizen_base/20180829.160718.tar.bz2
coreclr-submit/tizen_base/20180829.160718.zip
Change-Id: I95043b2fcdccd27e3ae198f7c41d89bde3049c48
-rwxr-xr-xsrc/pal/tools/gen-buildsys-clang.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pal/tools/gen-buildsys-clang.sh b/src/pal/tools/gen-buildsys-clang.sh
index adc99c3e08..46e08f9a13 100755
--- a/src/pal/tools/gen-buildsys-clang.sh
+++ b/src/pal/tools/gen-buildsys-clang.sh
@@ -150,6 +150,9 @@ if [ $OS == "Linux" ]; then
if [[ -e $linux_id_file ]]; then
source $linux_id_file
cmake_extra_defines="$cmake_extra_defines -DCLR_CMAKE_LINUX_ID=$ID"
+ elif [[ -e "$1/os-release" ]]; then
+ source $1/os-release
+ cmake_extra_defines="$cmake_extra_defines -DCLR_CMAKE_LINUX_ID=$ID"
fi
fi
if [ "$build_arch" == "armel" ]; then