aboutsummaryrefslogtreecommitdiff
path: root/build.sh
blob: 3acb65715310e1532af14767f9f5159643b53867 (plain)
1
2
3
4
5
#!/bin/sh

CFLAGS="-O3 -s -flto"
[ -z "$RELEASE" ] && CFLAGS="-O0 -g3 -Wall -Wextra -Werror";
musl-gcc -static src/main.c src/program.c src/alloc.c src/buffer.c src/fileutils.c src/transmission.c src/rss.c src/html.c src/rss_html_common.c src/download.c src/stringutils.c src/episode.c -o automedia $CFLAGS