mirror of https://github.com/rui314/chibicc
11 lines
277 B
Bash
Executable File
11 lines
277 B
Bash
Executable File
#!/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
|