* [PATCH] configure: fix libnuma_v2 probe to work with -Werror
@ 2015-01-29 18:07 castor.fu
2015-02-06 16:09 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: castor.fu @ 2015-01-29 18:07 UTC (permalink / raw)
To: fio; +Cc: Castor Fu
From: Castor Fu <castor@alumni.caltech.edu>
I noticed that libnuma_v2 wasn't getting detected in our build
environment because we would get an error that mask was unused.
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 6e1376f..892335b 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
--
1.9.3 (Apple Git-50)
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-06 16:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-29 18:07 [PATCH] configure: fix libnuma_v2 probe to work with -Werror castor.fu
2015-02-06 16:09 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox