Since GCC 4.4, MinGW has supported TLS via the __thread keyword, so
generate config-host.mak with CONFIG_TLS_THREAD=y.
MinGW now uses a new threading library libwinpthread-1.dll: install it
instead of pthreadGC2.dll.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
output_sym "CONFIG_CLOCK_GETTIME"
output_sym "CONFIG_SCHED_IDLE"
output_sym "CONFIG_TCP_NODELAY"
+ output_sym "CONFIG_TLS_THREAD"
echo "CC=$CC" >> $config_host_mak
echo "BUILD_CFLAGS=$CFLAGS -include config-host.h -D_GNU_SOURCE" >> $config_host_mak
exit 0
<File Source="..\..\fio.exe"/>
</Component>
<Component>
- <File KeyPath="yes" Source="..\..\pthreadGC2.dll"/>
+ <File KeyPath="yes" Source="..\..\libwinpthread-1.dll"/>
</Component>
<Component>
<File Id="README" Name="README.txt" Source="..\..\README"/>