Skip to content

Commit

Permalink
_build.sh: delete duplicate -fcf-protection=full for linux [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Jan 12, 2024
1 parent 422d628 commit 56713a6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -894,12 +894,6 @@ build_single_target() {
_CXXFLAGS_GLOBAL+=' -fstack-clash-protection'
fi

if [ "${_CPU}" = 'x64' ] || \
[ "${_CPU}" = 'x86' ]; then
_CFLAGS_GLOBAL+=' -fcf-protection=full'
_CXXFLAGS_GLOBAL+=' -fcf-protection=full'
fi

_LDFLAGS_GLOBAL+=' -Wl,-z,relro,-z,now'
fi

Expand Down

0 comments on commit 56713a6

Please sign in to comment.