dot

packages and services management
Log | Files | Refs | README

commit b4101968001d0bbe84bb7dab597700462f869b42
parent d1100849ec390dc6dddbab561d1655e52e52a088
Author: Josuah Demangeon <mail@josuah.net>
Date:   Wed, 28 Nov 2018 22:41:43 +0100

successfully build under musl libc

Diffstat:
Mpack/baresip/build | 7++++---
Mpack/libre/build | 4+++-
2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/pack/baresip/build b/pack/baresip/build @@ -7,11 +7,12 @@ sed -r ' ' Makefile >$$ mv $$ Makefile +export STATIC=yes +export LFLAGS=-static + make V=1 \ LIBRE_MK="$libre/share/re/re.mk" \ LIBRE_SO="$libre/lib" \ LIBRE_INC="$libre/include/re" \ LIBREM_PATH="$librem" \ - PREFIX="$PREFIX" \ - STATIC=1 \ - install + PREFIX="$PREFIX" diff --git a/pack/libre/build b/pack/libre/build @@ -1,3 +1,5 @@ #!/bin/sh -ex -CFLAGS=-D_BSD_SOURCE make PREFIX="$PREFIX" install +export CFLAGS='-D_BSD_SOURCE -DOPENBSD' + +make PREFIX="$PREFIX" install