Add gcc flags (#1947)

This commit is contained in:
Karthik Nadig 2025-12-01 23:28:08 +05:30 committed by GitHub
parent 82e409e883
commit 275caca690
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,4 +8,4 @@ case $ARCH in
esac
SRC="$(dirname "$0")/.."
g++ -std=c++11 -shared -fPIC -O2 -D_FORTIFY_SOURCE=2 -nostartfiles --stack-protector-strong $SRC/linux_and_mac/attach.cpp -o $SRC/attach_linux_$SUFFIX.so
g++ -std=c++11 -shared -fPIC -O2 -D_FORTIFY_SOURCE=2 -nostartfiles -fstack-protector-strong $SRC/linux_and_mac/attach.cpp -o $SRC/attach_linux_$SUFFIX.so