Thank you, hellork. I have successfully build Wine 1.1.40 after removing of --enable-maintainer-mode and %{__make} depend. But previous attempt to build without -Wp,-D_FORTIFY_SOURCE=2 failed because of other error: cc1: warnings being treated as errors net.c: In function 'netconn_init': net.c:463: error: assignment discards qualifiers from pointer target type make[1]: *** [net.o] Error 1 make[1]: Leaving directory `/home/user/rpmbuild/BUILD/wine-1.1.40/dlls/winhttp' make: *** [dlls/winhttp] Error 2