mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-12 13:14:38 +00:00
build system: use -fstack-protector… during linking, too
This commit is contained in:
parent
59a1651ce1
commit
541cbfe3ec
1
Rakefile
1
Rakefile
@ -126,6 +126,7 @@ def setup_globals
|
||||
ldflags += " -Llib/libebml/src -Llib/libmatroska/src" if c?(:EBML_MATROSKA_INTERNAL)
|
||||
ldflags += " #{c(:EXTRA_LDFLAGS)} #{c(:PROFILING_LIBS)} #{c(:USER_LDFLAGS)} #{c(:LDFLAGS_RPATHS)} #{c(:BOOST_LDFLAGS)}"
|
||||
ldflags += " -Wl,--dynamicbase,--nxcompat" if c?(:MINGW)
|
||||
ldflags += " #{c(:FSTACK_PROTECTOR)}"
|
||||
|
||||
windres = c?(:USE_WXWIDGETS) ? c(:WXWIDGETS_INCLUDES) : "-DNOWXWIDGETS"
|
||||
windres += " -DMINGW_PROCESSOR_ARCH_AMD64=1" if c(:MINGW_PROCESSOR_ARCH) == 'amd64'
|
||||
|
Loading…
Reference in New Issue
Block a user