diff --git a/NR_NOTES b/NR_NOTES index 44972e0..79c831f 100644 --- a/NR_NOTES +++ b/NR_NOTES @@ -4,3 +4,4 @@ -binutils is an issue -so is eudev -flex +-attempt to replace gcc with tcc? diff --git a/ports/unofficial/stable/tcc/build b/ports/unofficial/stable/tcc/build new file mode 100755 index 0000000..43195a3 --- /dev/null +++ b/ports/unofficial/stable/tcc/build @@ -0,0 +1,12 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --cc="${CC:-cc}" \ + --config-musl \ + --enable-static + +sed -i 's/-DC2STR/${CFLAGS} ${LDFLAGS} -DC2STR/g' Makefile + +make +make DESTDIR="$1" install diff --git a/ports/unofficial/stable/tcc/checksums b/ports/unofficial/stable/tcc/checksums new file mode 100644 index 0000000..4c30cf3 --- /dev/null +++ b/ports/unofficial/stable/tcc/checksums @@ -0,0 +1 @@ +039501e7e449c492e027beffb16c22ca4b5ed4f76628967f47f17d7bb94f6c5a diff --git a/ports/unofficial/stable/tcc/sources b/ports/unofficial/stable/tcc/sources new file mode 100644 index 0000000..d08eece --- /dev/null +++ b/ports/unofficial/stable/tcc/sources @@ -0,0 +1 @@ +https://repo.or.cz/tinycc.git/snapshot/2acf65f7e60391c3b4c42fce05e58b05a3511a39.tar.gz diff --git a/ports/unofficial/stable/tcc/version b/ports/unofficial/stable/tcc/version new file mode 100644 index 0000000..af4add6 --- /dev/null +++ b/ports/unofficial/stable/tcc/version @@ -0,0 +1 @@ +snapshot-2acf65f7e60391c3b4c42fce05e58b05a3511a39 1