summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCastor Fu <castor@alumni.caltech.edu>2015-01-29 10:07:36 -0800
committerMohamad Ayyash <mkayyash@google.com>2015-03-06 17:58:16 -0800
commit25d4dfe920e6fee3bf331acf729e73f1a7dadfc9 (patch)
tree9948b2287bc9ef45ecd15fbfc31ea24ce0f661d6
parent5aab46d557261449d90ea24bbbc7547138a333ce (diff)
downloadfio-25d4dfe920e6fee3bf331acf729e73f1a7dadfc9.tar.gz
configure: fix libnuma_v2 probe to work with -Werror
I noticed that libnuma_v2 wasn't getting detected in our build environment because we would get an error that mask was unused. Signed-off-by: Jens Axboe <axboe@fb.com>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6e1376f2..892335b9 100755
--- a/configure
+++ b/configure
@@ -887,7 +887,7 @@ cat > $TMPC << EOF
int main(int argc, char **argv)
{
struct bitmask *mask = numa_parse_nodestring(NULL);
- return 0;
+ return mask->size == 0;
}
EOF
if compile_prog "" "" "libnuma api"; then