From 6ea7c5ce49caf8000e734b2a61f7a0beaf591e28 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Fri, 3 Jan 2020 15:45:52 -0800 Subject: [PATCH] qa: use -D_GNU_SOURCE when compiling fsync-tester.c Otherwise loff_t is unavailable for some distributions. Fixes: https://tracker.ceph.com/issues/43460 Signed-off-by: Patrick Donnelly --- qa/workunits/suites/fsync-tester.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/workunits/suites/fsync-tester.sh b/qa/workunits/suites/fsync-tester.sh index ea5bc041802..6e32786ea95 100755 --- a/qa/workunits/suites/fsync-tester.sh +++ b/qa/workunits/suites/fsync-tester.sh @@ -4,7 +4,7 @@ set -e # To skirt around GPL compatibility issues: wget http://download.ceph.com/qa/fsync-tester.c -gcc fsync-tester.c -o fsync-tester +gcc -D_GNU_SOURCE fsync-tester.c -o fsync-tester ./fsync-tester -- 2.39.5