aboutsummaryrefslogtreecommitdiff
path: root/build.sh
blob: c2cd3b92dbdb7adb702afa413fb3f6e50de47680 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

set -xe

gcc -ggdb3 -std=gnu99 -O3 -march=native \
    -Wall -Wextra -Wno-switch -Wno-implicit-fallthrough \
    -I./src -Wl,-rpath,$HOME/.guix-profile/lib/ \
    -D_GNU_SOURCE -o ./http-server -lmagic \
    ./src/http-server.c