projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
59097e7
)
Update CFLAGS and LDFLAGS for FreeBSD builds
author
Rebecca Cran
<rebecca@bluestop.org>
Mon, 6 May 2019 22:12:41 +0000
(16:12 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 7 May 2019 04:18:55 +0000
(22:18 -0600)
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 <axboe@kernel.dk>
configure
patch
|
blob
|
blame
|
history
diff --git
a/configure
b/configure
index c7a7c0ae3fd07b09c765cda2b83fa04e79c489ea..d71387c07d10505a4073ad0047ba66a1808e89c2 100755
(executable)
--- 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.