Skip to content

Commit

Permalink
make: Use absolute path for clang-13
Browse files Browse the repository at this point in the history
For some reasons $(which clang-13) fails to resolve locally when running
"make release".

Signed-off-by: Martynas Pumputis <m@lambda.lt>
  • Loading branch information
brb committed Jul 4, 2023
1 parent 7fbf855 commit 55d7fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ release:
--rm \
--workdir /pwru \
--volume `pwd`:/pwru docker.io/library/golang:1.20.5 \
sh -c "apt update && apt install -y make git clang-13 llvm && \
ln -s $(which clang-13) /usr/bin/clang && \
sh -c "apt update && apt install -y make git clang-13 llvm curl unzip gcc flex bison && \
ln -s /usr/bin/clang-13 /usr/bin/clang && \
git config --global --add safe.directory /pwru && \
make libpcap.a && \
make local-release VERSION=${VERSION}"
Expand Down

0 comments on commit 55d7fb3

Please sign in to comment.