projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'atomics' of https://github.com/bvanassche/fio
[fio.git]
/
configure
diff --git
a/configure
b/configure
index 3ee8aaf2b8205617fa154cf3f8f8431965a6ae58..63b30555025e48181df38474438613b8e5cc8945 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-2548,7
+2548,7
@@
fi
print_config "__kernel_rwf_t" "$__kernel_rwf_t"
##########################################
print_config "__kernel_rwf_t" "$__kernel_rwf_t"
##########################################
-# check if gcc has -Wimplicit-fallthrough
+# check if gcc has -Wimplicit-fallthrough
=2
fallthrough="no"
cat > $TMPC << EOF
int main(int argc, char **argv)
fallthrough="no"
cat > $TMPC << EOF
int main(int argc, char **argv)
@@
-2556,10
+2556,10
@@
int main(int argc, char **argv)
return 0;
}
EOF
return 0;
}
EOF
-if compile_prog "-Wimplicit-fallthrough
" "" "-Wimplicit-fallthrough
"; then
+if compile_prog "-Wimplicit-fallthrough
=2" "" "-Wimplicit-fallthrough=2
"; then
fallthrough="yes"
fi
fallthrough="yes"
fi
-print_config "-Wimplicit-fallthrough" "$fallthrough"
+print_config "-Wimplicit-fallthrough
=2
" "$fallthrough"
##########################################
# check for MADV_HUGEPAGE support
##########################################
# check for MADV_HUGEPAGE support