description

build

to build and install this package use the ports submodule in the stanix repo after having making stanix

cd ports
./clean.sh tcc
./build.sh tcc
./install.sh tcc

precompiled

precompiled are currently not available

packages source

package source

manifest

GIT=https://github.com/TinyCC/tinycc

configure() {
	./configure --prefix=$PREFIX --sysroot=$SYSROOT --targetos=stanix --enable-static --cc=$CC --triplet=x86_64-stanix --extra-cflags='-Wall
    -Wextra
    -std=gnu11
    -fno-stack-protector
    -fno-stack-check
    -fno-PIC
    -static' 

	echo '#define CONFIG_TCC_STATIC 1
	#define CONFIG_TCC_SEMLOCK 0' >> config.h
}

build() {
	make
}

install() {
	make install
}

this page was generated using a script