Skip to content

Commit 4105cbb

Browse files
committed
fixup solana makefile to catch more errors
1 parent 2fe7f9c commit 4105cbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN /bin/bash -l -c "pytest-3 --pyargs pyth"
2626
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
2727

2828
# Link Solana location for makefile
29-
RUN mkdir solana && cp -a /usr/bin/sdk solana
29+
RUN mkdir solana && cp -a /usr/bin/sdk solana && sed -i 's/-Werror/-Wall -Wextra -Wconversion -Werror/g' solana/sdk/bpf/c/bpf.mk
3030

3131
# Build the program
3232
RUN PATH=$PATH:$HOME/.cargo/bin && cd pyth-client/program && make V=1

0 commit comments

Comments
 (0)