Skip to content

Commit

Permalink
Add -lc++ to ld
Browse files Browse the repository at this point in the history
  • Loading branch information
DonggeLiu committed Feb 2, 2023
1 parent 447e163 commit 9c536a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/base-images/base-builder/precompile_centipede
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export CENTIPEDE_BIN="$SRC/centipede/bin"
mkdir -p $CENTIPEDE_BIN
cat << EOF > ${CENTIPEDE_BIN}/ld
#!/bin/bash
/usr/bin/ld \$@ -ldl -lrt -lpthread /src/centipede/weak.o
/usr/bin/ld \$@ -ldl -lrt -lpthread -lc++ /src/centipede/weak.o
EOF
chmod 777 ${CENTIPEDE_BIN}/ld

Expand Down

0 comments on commit 9c536a4

Please sign in to comment.