summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2016-11-18 10:22:53 +0100
committerjaseg <git@jaseg.net>2016-11-18 10:31:10 +0100
commitce0ee8d53807fdf1028812ffef96a8d481d0e078 (patch)
treef879064f2e84495216e52187827304cd9504584e /README.md
parentf585abdc4f9f7562422d2b606d4b1b1993b4e5ac (diff)
downloadlolcat-ce0ee8d53807fdf1028812ffef96a8d481d0e078.tar.gz
lolcat-ce0ee8d53807fdf1028812ffef96a8d481d0e078.tar.bz2
lolcat-ce0ee8d53807fdf1028812ffef96a8d481d0e078.zip
Fix musl build on various platforms
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0f173b0..f7a6695 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,20 @@ $ yaourt -S c-lolcat
$ make && sudo make install
```
+If this can't find musl and you have it installed somewhere, run
+```bash
+$ make MUSLDIR=/path/to/musl
+```
+
+If you don't have a musl around yet, the easiest way to build is to run
+```bash
+$ git submodule init
+$ git submodule update
+$ make
+```
+
+This will checkout and build musl in this repository's ```musl``` dir.
+
## Why?
This `lolcat` clone is an attempt to reduce the world's carbon dioxide emissions by optimizing inefficient code. It's >10x as fast and <0.1% as large as the original one.