mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-30 14:58:50 +00:00
Merge pull request #1361 from darealshinji/patch-1
Use -fPIE instead of -fPIC
This commit is contained in:
commit
9e1965197d
2
Rakefile
2
Rakefile
@ -111,7 +111,7 @@ def setup_globals
|
|||||||
cflags_common += " -Ilib/libebml -Ilib/libmatroska" if c?(:EBML_MATROSKA_INTERNAL)
|
cflags_common += " -Ilib/libebml -Ilib/libmatroska" if c?(:EBML_MATROSKA_INTERNAL)
|
||||||
cflags_common += " #{c(:MATROSKA_CFLAGS)} #{c(:EBML_CFLAGS)} #{c(:EXTRA_CFLAGS)} #{c(:DEBUG_CFLAGS)} #{c(:PROFILING_CFLAGS)} #{c(:USER_CPPFLAGS)}"
|
cflags_common += " #{c(:MATROSKA_CFLAGS)} #{c(:EBML_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 c?(:MINGW)
|
cflags_common += " -mno-ms-bitfields -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 " if c?(:MINGW)
|
||||||
cflags_common += " -fPIC " if c?(:USE_QT) && !c?(:MINGW)
|
cflags_common += " -fPIE " if c?(:USE_QT) && !c?(:MINGW)
|
||||||
cflags_common += " -DQT_STATICPLUGIN" if c?(:USE_QT) && c?(:MINGW)
|
cflags_common += " -DQT_STATICPLUGIN" if c?(:USE_QT) && c?(:MINGW)
|
||||||
|
|
||||||
cflags = "#{cflags_common} #{c(:USER_CFLAGS)}"
|
cflags = "#{cflags_common} #{c(:USER_CFLAGS)}"
|
||||||
|
Loading…
Reference in New Issue
Block a user