Skip to content

Commit

Permalink
scripts: remove URLs in the google clang version
Browse files Browse the repository at this point in the history
* based on AxelBlaz3/Codex-Kernel@1aaa305

Signed-off-by: Rizky Benggolo <travarilo@gmail.com>
  • Loading branch information
travarilo authored and ArbitraryFox committed May 24, 2020
1 parent 1a7a516 commit e68113c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mkcompile_h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ UTS_TRUNCATE="cut -b -$UTS_LEN"
echo \#define LINUX_COMPILE_HOST \"`echo $LINUX_COMPILE_HOST | $UTS_TRUNCATE`\"

if [ -z "$KBUILD_COMPILER_STRING" ]; then
echo \#define LINUX_COMPILER \"`$CC -v 2>&1 | grep ' version ' | sed 's/[[:space:]]*$//'`\"
echo \#define LINUX_COMPILER \"`$CC -v 2>&1 | grep ' version ' | head -n 1 | perl -pe 's/\(http.*?\)//gs' | sed -e 's/ */ /g' -e 's/[[:space:]]*$//'`\"
else
echo \#define LINUX_COMPILER \"$KBUILD_COMPILER_STRING\"
fi;
Expand Down

0 comments on commit e68113c

Please sign in to comment.