mirror of
https://github.com/Noratrieb/libuwuc.git
synced 2026-01-14 11:45:05 +01:00
fix stack protector issues
This commit is contained in:
parent
2f0191768f
commit
08938636d4
2 changed files with 2 additions and 2 deletions
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||||
|
|
||||||
args=("-nodefaultlibs" "-nostdlib" "-L${SCRIPT_DIR}/target/debug" "-lrawc")
|
args=("-fno-stack-protector" "-nodefaultlibs" "-nostdlib" "-L${SCRIPT_DIR}/target/debug" "-lrawc")
|
||||||
|
|
||||||
exec clang "$@" "${args[@]}"
|
exec clang "$@" "${args[@]}"
|
||||||
|
|
|
||||||
2
uwuc-gcc
2
uwuc-gcc
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||||
|
|
||||||
args=("-nodefaultlibs" "-nostdlib" "-L${SCRIPT_DIR}/target/debug" "-lrawc")
|
args=("-fno-stack-protector" "-nodefaultlibs" "-nostdlib" "-L${SCRIPT_DIR}/target/debug" "-lrawc")
|
||||||
|
|
||||||
exec gcc "$@" "${args[@]}"
|
exec gcc "$@" "${args[@]}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue