Modify fio build process to use EXTLIBS

Updated build-fio.yml to include EXTLIBS for make.
This commit is contained in:
Mason Rowe
2025-12-29 02:28:19 -05:00
committed by GitHub
parent 8eac4a01f4
commit edfdf8e511

View File

@@ -102,10 +102,9 @@ jobs:
curl -L -4 --retry 5 --retry-delay 2 --connect-timeout 15 "https://github.com/axboe/fio/archive/\$VERSION.tar.gz" -o "fio.tar.gz" curl -L -4 --retry 5 --retry-delay 2 --connect-timeout 15 "https://github.com/axboe/fio/archive/\$VERSION.tar.gz" -o "fio.tar.gz"
tar xf fio.tar.gz tar xf fio.tar.gz
cd fio* cd fio*
CC=/root/\$CROSS-cross/bin/\$CROSS-gcc ./configure --disable-native --build-static
CFLAGS+=' -include linux/falloc.h' CFLAGS+=' -include linux/falloc.h'
LDFLAGS+=' -latomic' CC=/root/\$CROSS-cross/bin/\$CROSS-gcc ./configure --disable-native --build-static
make make EXTLIBS+=' -latomic'
# verify no external shared library links # verify no external shared library links
libcheck fio libcheck fio