forked from Inkypen79/device_xiaomi_odin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
odin: Compile kernel with Clang 17.0.2
* The issue with hard-coded paths for AR and LD has been resolved, drop unneccesary build flags
- Loading branch information
Showing
2 changed files
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
CLANGDIR=$PWD/prebuilts/clang/host/linux-x86 | ||
CLANGVER=clang-r487747 | ||
CLANGVER=clang-r487747c | ||
if [ ! -d "${CLANGDIR}/${CLANGVER}" ] | ||
then | ||
GREEN='\033[0;32m' | ||
NC='\033[0m' | ||
echo -e "${GREEN}Downloading clang 17.0${NC}" | ||
git clone https://gitlab.com/inkypen/prebuilts_clang_host_linux-x86 -b ${CLANGVER} "${CLANGDIR}/${CLANGVER}" | ||
echo -e "${GREEN}Downloading clang 17.0.2${NC}" | ||
git clone https://gitlab.com/inkypen/prebuilts_clang_host_linux-x86 -b ${CLANGVER} "${CLANGDIR}/${CLANGVER}" --single-branch | ||
fi |