summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyungju Lee <leee.lee@samsung.com>2018-08-29 07:56:17 (GMT)
committerGleb Balykov <g.balykov@samsung.com>2018-08-29 16:02:21 (GMT)
commit90a3238ec32bb81b0e8b3a3b1069246ef51e9ca7 (patch)
treed447c3c704c48f722f72c2ecc726e7baeff1ee36
parentb043144f0ebcc525b69222b90bdc01732566f582 (diff)
downloadcoreclr-backup/tizen_base_2.1.1-upd2.zip
coreclr-backup/tizen_base_2.1.1-upd2.tar.gz
coreclr-backup/tizen_base_2.1.1-upd2.tar.bz2
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 adc99c3..46e08f9 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