engines/skeleton_external: update gcc incantation
authorJens Axboe <axboe@kernel.dk>
Thu, 7 Mar 2019 23:54:41 +0000 (16:54 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 7 Mar 2019 23:54:54 +0000 (16:54 -0700)
Fixes: https://github.com/axboe/fio/issues/747
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/skeleton_external.c

index 21a3601824bc5d1db4cc9dd79ce6d7b03ac0e296..1b6625b2e49708500f6fe0379ffbe8a66076b391 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Should be compiled with:
  *
  *
  * 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)
  *
  */
  * (also requires -D_GNU_SOURCE -DCONFIG_STRSEP on Linux)
  *
  */