Fix musl build on various platforms

This commit is contained in:
jaseg 2016-11-18 10:22:53 +01:00 committed by jaseg
parent f585abdc4f
commit ce0ee8d538
3 changed files with 55 additions and 18 deletions

View file

@ -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.