From: Jens Axboe Date: Thu, 7 Mar 2019 23:54:41 +0000 (-0700) Subject: engines/skeleton_external: update gcc incantation X-Git-Tag: fio-3.14~24 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=44364a9937d01825557f4a7d78c6f153886e1115;ds=sidebyside engines/skeleton_external: update gcc incantation Fixes: https://github.com/axboe/fio/issues/747 Signed-off-by: Jens Axboe --- diff --git a/engines/skeleton_external.c b/engines/skeleton_external.c index 21a36018..1b6625b2 100644 --- a/engines/skeleton_external.c +++ b/engines/skeleton_external.c @@ -3,7 +3,7 @@ * * Should be compiled with: * - * gcc -Wall -O2 -g -shared -rdynamic -fPIC -o skeleton_external.o skeleton_external.c + * gcc -Wall -O2 -g -D_GNU_SOURCE -include ../config-host.h -shared -rdynamic -fPIC -o skeleton_external.o skeleton_external.c * (also requires -D_GNU_SOURCE -DCONFIG_STRSEP on Linux) * */