mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-13 22:03:09 +00:00
github: armv7 thumb
This commit is contained in:
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -99,11 +99,15 @@ jobs:
|
|||||||
export STRIP=$TARGET-strip
|
export STRIP=$TARGET-strip
|
||||||
export PKG_CONFIG_PATH=$DEPS_DIR/lib/pkgconfig
|
export PKG_CONFIG_PATH=$DEPS_DIR/lib/pkgconfig
|
||||||
export STAGING_DIR=$RUNNER_TEMP
|
export STAGING_DIR=$RUNNER_TEMP
|
||||||
if [ "$ARCH" = lexra ]; then
|
OPTIMIZE=-Oz
|
||||||
OPTIMIZE=-Os
|
case "$ARCH" in
|
||||||
else
|
lexra)
|
||||||
OPTIMIZE=-Oz
|
OPTIMIZE=-Os
|
||||||
fi
|
;;
|
||||||
|
arm)
|
||||||
|
CFLAGS="$CFLAGS -march=armv7-a -mthumb"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
MINSIZE="$OPTIMIZE $MINSIZE"
|
MINSIZE="$OPTIMIZE $MINSIZE"
|
||||||
|
|
||||||
if [[ "$ARCH" == lexra ]] || [[ "$ARCH" == riscv64 ]] || [[ "$ARCH" == x86 ]] ; then
|
if [[ "$ARCH" == lexra ]] || [[ "$ARCH" == riscv64 ]] || [[ "$ARCH" == x86 ]] ; then
|
||||||
|
|||||||
Reference in New Issue
Block a user