Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-21 08:45:48 +00:00

update builder-linux

This commit is contained in:
bol-van
2026-02-28 19:14:45 +03:00
parent 410ba5ae6e
commit 3e52d53df0
2 changed files with 4 additions and 2 deletions

View File

@@ -94,13 +94,15 @@ buildenv()
OLDPATH="$PATH"
export PATH="$PATH:$TOOLCHAINS/$TARGET/bin"
CPU=
CFLAGS_PIC=
LDFLAGS_PIE=-static
# not all archs support -static-pie. if does not support - it produces dynamic executable
# "-static -static-pie" causes segfaults
case $1 in
arm-*)
CFLAGS="-march=armv7-a -mthumb $CFLAGS"
CPU="-mcpu=cortex-a7 -mthumb -msoft-float $CFLAGS"
CFLAGS="$CPU $CFLAGS"
;;
mips*)
;;