Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Aug 23, 2024
1 parent a5196ce commit b944342
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ppkg
Original file line number Diff line number Diff line change
Expand Up @@ -8275,6 +8275,11 @@ __setup_netbsd() {
run $sudo pkgin -y update
run $sudo pkgin -y install bash coreutils findutils gawk gsed grep git curl bsdtar tree jq patch patchelf pkg-config go122 gcc13 binutils cmake gmake ninja-build flex bison m4

# https://github.com/ebiggers/libdeflate/issues/387
# https://github.com/NetBSD/pkgsrc/blob/trunk/lang/gcc13/Makefile.common#L90
run $sudo ln /usr/pkg/bin/gas /usr/bin/as
run $sudo ln /usr/pkg/bin/gld /usr/bin/ld

run ln -sf /usr/pkg/go122/bin/go bin/go
run ln -sf /usr/pkg/gcc13/bin/gcc bin/gcc
run ln -sf /usr/pkg/gcc13/bin/g++ bin/g++
Expand Down

0 comments on commit b944342

Please sign in to comment.