]> xenbits.xensource.com Git - xen.git/commit
tools/blktap: reorder MEMSHR_DIR to fix CFLAGS
authorOlaf Hering <olaf@aepfle.de>
Wed, 14 Mar 2012 16:02:23 +0000 (17:02 +0100)
committerOlaf Hering <olaf@aepfle.de>
Wed, 14 Mar 2012 16:02:23 +0000 (17:02 +0100)
commit645c523d0a7654e38641266249c0c0c9d1a3fe0a
treeb3688fd34929aed6de4b944477cb972bfd08f7e4
parentccd266a2e7c6bb47a7311af3bc05f54f1572429c
tools/blktap: reorder MEMSHR_DIR to fix CFLAGS

In blktap2 MEMSHR_DIR is used before it is set. This removes the
required -D_GNU_SOURCE from CFLAGS, its used as option for -I
Fix this by moving memshr related flags to the place where its actually
used.
The failure is a missing O_DIRECT define.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/blktap/drivers/Makefile
tools/blktap2/drivers/Makefile