mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-10-22 07:21:21 +00:00
build sysytem: up minimum Windows version to 0x0601 = Windows 7
This commit is contained in:
parent
95dbdac5c3
commit
65a3d6260e
2
Rakefile
2
Rakefile
@ -124,7 +124,7 @@ def setup_globals
|
||||
cflags_common += " -fsanitize=address -fno-omit-frame-pointer" if c?(:ADDRSAN)
|
||||
cflags_common += " -Ilib/libebml -Ilib/libmatroska" if c?(:EBML_MATROSKA_INTERNAL)
|
||||
cflags_common += " #{c(:MATROSKA_CFLAGS)} #{c(:EBML_CFLAGS)} #{c(:PUGIXML_CFLAGS)} #{c(:EXTRA_CFLAGS)} #{c(:DEBUG_CFLAGS)} #{c(:PROFILING_CFLAGS)} #{c(:USER_CPPFLAGS)}"
|
||||
cflags_common += " -mno-ms-bitfields -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 " if $building_for[:windows]
|
||||
cflags_common += " -mno-ms-bitfields -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 " if $building_for[:windows] # 0x0601 = Windows 7/Server 2008 R2
|
||||
cflags_common += " -march=i686" if $building_for[:windows] && /i686/.match(c(:host))
|
||||
cflags_common += " -fPIC " if c?(:USE_QT) && !$building_for[:windows]
|
||||
cflags_common += " -DQT_STATICPLUGIN" if c?(:USE_QT) && $building_for[:windows]
|
||||
|
Loading…
Reference in New Issue
Block a user