From: Rebecca Cran Date: Mon, 6 May 2019 22:12:41 +0000 (-0600) Subject: Update CFLAGS and LDFLAGS for FreeBSD builds X-Git-Tag: fio-3.14~9 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=f22dd97a5a1342c7dcb84f777a77bd30859cc35b;p=fio.git Update CFLAGS and LDFLAGS for FreeBSD builds FreeBSD installs third-party headers into /usr/local/include and libraries into /usr/local/lib. Update CFLAGS and LDFLAGS to look there. Signed-off-by: Jens Axboe --- diff --git a/configure b/configure index c7a7c0ae..d71387c0 100755 --- a/configure +++ b/configure @@ -307,6 +307,10 @@ AIX|OpenBSD|NetBSD) force_no_lex_o="yes" fi ;; +FreeBSD) + CFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib" + ;; Darwin) # on Leopard most of the system is 32-bit, so we have to ask the kernel if # we can run 64-bit userspace code.