chibicc/test/thirdparty/sqlite.sh

11 lines
277 B
Bash
Raw Permalink Normal View History

2020-09-13 15:18:44 +03:00
#!/bin/bash
repo='git@github.com:sqlite/sqlite.git'
. test/thirdparty/common
git reset --hard 86f477edaa17767b39c7bae5b67cac8580f7a8c1
CC=$chibicc CFLAGS=-D_GNU_SOURCE ./configure
sed -i 's/^wl=.*/wl=-Wl,/; s/^pic_flag=.*/pic_flag=-fPIC/' libtool
$make clean
$make
$make test