summaryrefslogtreecommitdiff
path: root/Ports/tinycc/package.sh
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2019-10-02 22:50:20 +0300
committerAndreas Kling <awesomekling@gmail.com>2019-10-03 08:18:05 +0200
commitad51a70c545545267bdfa16416b91304b72ed7bb (patch)
tree6e2521b75641decc7538311a2c58d3caafe9073b /Ports/tinycc/package.sh
parent89bf38864a300dacc73e516fe359bd7a94a2ab98 (diff)
downloadserenity-ad51a70c545545267bdfa16416b91304b72ed7bb.zip
Ports: Add a TinyCC port
It does build, but doesn't quite work yet.
Diffstat (limited to 'Ports/tinycc/package.sh')
-rwxr-xr-xPorts/tinycc/package.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/Ports/tinycc/package.sh b/Ports/tinycc/package.sh
new file mode 100755
index 0000000000..7722431730
--- /dev/null
+++ b/Ports/tinycc/package.sh
@@ -0,0 +1,14 @@
+#!/bin/bash ../.port_include.sh
+port=tinycc
+workdir=tinycc-dev
+version=dev
+curlopts="-L"
+files="https://github.com/TinyCC/tinycc/archive/dev.tar.gz tinycc-dev.tar.gz"
+useconfigure=true
+makeopts=tcc
+
+configure() {
+ run ./configure --cross-prefix=i686-pc-serenity- --cpu=i686 --triplet=i686-pc-serenity --crtprefix=/usr/lib
+}
+
+export CONFIG_ldl=no