summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-10-06 09:15:51 -0600
committerJens Axboe <axboe@kernel.dk>2019-10-06 09:15:51 -0600
commit58d68a0dad21fb8aed34bb987e00b9b7dee65296 (patch)
tree5bc3c36e2d98955e57a29ff8cf2ca8621bfa6fea /configure
parent13e9c0b09c0c8d892b790aeaf736263dd76f2d2e (diff)
parent44f668d7ba3d82c1218951b8c9ed058bedb89e17 (diff)
downloadfio-58d68a0dad21fb8aed34bb987e00b9b7dee65296.tar.gz
fio-58d68a0dad21fb8aed34bb987e00b9b7dee65296.tar.bz2
Merge branch 'error-on-implicit-decl' of https://github.com/sitsofe/fio
* 'error-on-implicit-decl' of https://github.com/sitsofe/fio: configure: stop enabling fdatasync on OSX
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 59da2f7e..e32d5dcf 100755
--- a/configure
+++ b/configure
@@ -88,14 +88,14 @@ do_cc() {
}
compile_object() {
- do_cc $CFLAGS -c -o $TMPO $TMPC
+ do_cc $CFLAGS -Werror-implicit-function-declaration -c -o $TMPO $TMPC
}
compile_prog() {
local_cflags="$1"
local_ldflags="$2 $LIBS"
echo "Compiling test case $3" >> config.log
- do_cc $CFLAGS $local_cflags -o $TMPE $TMPC $LDFLAGS $local_ldflags
+ do_cc $CFLAGS -Werror-implicit-function-declaration $local_cflags -o $TMPE $TMPC $LDFLAGS $local_ldflags
}
feature_not_found() {