mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-07 19:58:30 +00:00
Fix --ftrace with cosmocc
This commit is contained in:
parent
5d5b4ce691
commit
504a4bbf84
1 changed files with 2 additions and 1 deletions
|
@ -242,7 +242,8 @@ if [ x"$MODE" = x"nox87" ]; then
|
||||||
CCFLAGS="$CCFLAGS -mlong-double-64"
|
CCFLAGS="$CCFLAGS -mlong-double-64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ x"$OPT" != x"-Os" ] && [ x"${MODE#tiny}" != x"${MODE}" ]; then
|
if [ x"$OPT" != x"-Os" ] && # $OPT != -Os
|
||||||
|
[ x"${MODE%tiny}" = x"${MODE}" ]; then # $MODE not in (tiny, aarch64-tiny)
|
||||||
# support --ftrace unless optimizing for size
|
# support --ftrace unless optimizing for size
|
||||||
CCFLAGS="$CCFLAGS -fpatchable-function-entry=18,16"
|
CCFLAGS="$CCFLAGS -fpatchable-function-entry=18,16"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue