Enable position independent code by default
Add a build option (--disable-pic, wxBUILD_PIC=OFF) to disable it. Note that it is always enabled for shared libraries and static third party libraries.
This commit is contained in:
@@ -64,6 +64,8 @@ else()
|
||||
endif()
|
||||
wx_option(wxBUILD_STRIPPED_RELEASE "remove debug symbols in release build" ${wxBUILD_STRIPPED_RELEASE_DEFAULT})
|
||||
mark_as_advanced(wxBUILD_STRIPPED_RELEASE)
|
||||
wx_option(wxBUILD_PIC "Enable position independent code (PIC)." ON)
|
||||
mark_as_advanced(wxBUILD_PIC)
|
||||
wx_option(wxUSE_NO_RTTI "disable RTTI support" OFF)
|
||||
|
||||
# STL options
|
||||
|
Reference in New Issue
Block a user