Linux*)
CONFIGURE_APPEND="
--enable-werror
- --extra-ldflags=-Wl,--export-dynamic
+ --extra-ldflags=-rdynamic
--audio-drv-list=alsa
--enable-sdl
--enable-kvm
CONFIGURE_APPEND="
--cross-prefix=$CROSS_PREFIX
--enable-werror
- --extra-cflags=-static-libgcc
- --extra-cflags=-static-libstdc++
+ --extra-ldflags=-static-libgcc
+ --extra-ldflags=-static-libstdc++
--extra-ldflags=-Wl,--large-address-aware
- --extra-ldflags=-Wl,--export-all-symbols
--audio-drv-list=dsound
--winver=0x0600
--enable-sdl
--cc=gcc
--cxx=g++
--enable-werror
- --extra-cflags=-static-libgcc
- --extra-cflags=-static-libstdc++
+ --extra-ldflags=-static-libgcc
+ --extra-ldflags=-static-libstdc++
--extra-ldflags=-Wl,--large-address-aware
- --extra-ldflags=-Wl,--export-all-symbols
--audio-drv-list=dsound
--winver=0x0600
--enable-sdl
--extra-cflags=-Wno-error=deprecated-declarations
--extra-ldflags=-lstdc++
--audio-drv-list=coreaudio
- --enable-virtfs
- --disable-sdl
--disable-cocoa
+ --disable-sdl
--enable-hax
$CONFIGURE_APPEND
"
-# FIXME: "-export_dynamic" causes error on old version clang
-# --extra-ldflags="-Xlinker -export_dynamic" \
+#--extra-ldflags=-rdynamic
# TODO: we need general GUI for MacOS
# we should use cocoa or sdl
;;