diff options
-rwxr-xr-x | src/pal/tools/gen-buildsys-clang.sh | 3 |
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 |