Skip to content

Commit 9bf0758

Browse files
committed
CI: Disable -fstack-protector-strong for Android builds
1 parent 219a46d commit 9bf0758

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/actions/3-build-cross/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ runs:
9797
mv "android-ndk-$version" android-ndk
9898
rm android-ndk.zip
9999
100+
# remove the implicit -fstack-protector-strong
101+
sed -i 's|^ " -fstack-protector-strong"$||' android-ndk/build/cmake/flags.cmake
102+
100103
arch='${{ inputs.arch }}'
101104
apiLevel='${{ inputs.android_api_level }}'
102105
cmakeFlags="-DTARGET_SYSTEM='Android;Linux;UNIX'"

0 commit comments

Comments
 (0)