From: Patrick Donnelly Date: Fri, 3 Jan 2020 23:45:52 +0000 (-0800) Subject: qa: use -D_GNU_SOURCE when compiling fsync-tester.c X-Git-Tag: v15.1.0~322^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6ea7c5ce49caf8000e734b2a61f7a0beaf591e28;p=ceph-ci.git 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 --- 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