CONFIGURE: Allow OpenDingux to use dynamic modules
-mno-shared prevents modules from being usable. Don't add it if modules are allowed.
This commit is contained in:
parent
3701325b0e
commit
2149d3814b
1 changed files with 7 additions and 3 deletions
10
configure
vendored
10
configure
vendored
|
@ -3550,10 +3550,14 @@ if test -n "$_host"; then
|
|||
opendingux-*)
|
||||
_sysroot=`$CXX --print-sysroot`
|
||||
_sdlpath=$_sysroot/usr/bin
|
||||
append_var DEFINES "-DDINGUX -DOPENDINGUX -DREDUCE_MEMORY_USAGE"
|
||||
append_var CXXFLAGS "-ffast-math -fdata-sections -ffunction-sections -mplt -mno-shared"
|
||||
append_var LDFLAGS "-ffast-math -fdata-sections -ffunction-sections -mplt -mno-shared"
|
||||
append_var DEFINES "-DDINGUX -DOPENDINGUX -DREDUCE_MEMORY_USAGE -DUNCACHED_PLUGINS"
|
||||
append_var CXXFLAGS "-ffast-math -fdata-sections -ffunction-sections -mplt"
|
||||
append_var LDFLAGS "-ffast-math -fdata-sections -ffunction-sections -mplt"
|
||||
append_var LDFLAGS "-O3 -Wl,--as-needed,--gc-sections"
|
||||
if [ x"$_dynamic_modules" != xyes ]; then
|
||||
append_var CXXFLAGS "-mno-shared"
|
||||
append_var LDFLAGS "-mno-shared"
|
||||
fi
|
||||
_vkeybd=yes
|
||||
_alsa=no
|
||||
_vorbis=no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue