mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
update script
This commit is contained in:
parent
6264776999
commit
92d3a589e8
@ -1,6 +1,6 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
python prebuild.py
|
# python prebuild.py
|
||||||
|
|
||||||
SRC=$(find src/ -name "*.c")
|
SRC=$(find src/ -name "*.c")
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
python prebuild.py
|
# python prebuild.py
|
||||||
|
|
||||||
SRC=$(find src/ -name "*.c")
|
SRC=$(find src/ -name "*.c")
|
||||||
|
|
||||||
FLAGS="-std=c11 -lm -ldl -I3rd/lz4 -Iinclude -O0 -Wfatal-errors -g -DDEBUG -DPK_ENABLE_OS=1 -DPK_BUILD_MODULE_LZ4"
|
FLAGS="-std=c11 -lm -ldl -Iinclude -O0 -Wfatal-errors -g -DDEBUG -DPK_ENABLE_OS=1"
|
||||||
|
|
||||||
SANITIZE_FLAGS="-fsanitize=address,leak,undefined"
|
SANITIZE_FLAGS="-fsanitize=address,leak,undefined"
|
||||||
|
|
||||||
@ -13,5 +13,5 @@ if [ "$(uname)" == "Darwin" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Compiling C files..."
|
echo "Compiling C files..."
|
||||||
gcc -m32 $FLAGS $SANITIZE_FLAGS $SRC src2/main.c 3rd/lz4/lz4libs/lz4.c -o main
|
gcc -m32 $FLAGS $SANITIZE_FLAGS $SRC src2/main.c -o main
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user