i've been able to turn on more optimation flags (-flto) for some of the mupen64plus modules on the jolla phone, i will release this sometime this weekend maybe this yields (slight) speed improvements
CFLAGS="-flto -fuse-linker-plugin" CXXFLAGS="-flto -fuse-linker-plugin" LDFLAGS="-Wl,-O1 -Wl,--as-needed -flto -fuse-linker-plugin"
CFLAGS="-march=native -O2 -pipe -fno-ident -flto=3 -fuse-linker-plugin -ggdb" CXXFLAGS="${CFLAGS}" LDFLAGS="-Wl,-O1 -Wl,--as-needed ${CFLAGS}"
CFLAGS="-march=native -O3 -pipe -fno-ident -flto=3 -fuse-linker-plugin -funroll-loops -ftree-vectorize -ffast-math" CXXFLAGS="${CFLAGS}" LDFLAGS="-Wl,-O1 -Wl,--as-needed ${CFLAGS}"
<?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="application/x-n64-rom"> <comment>Nintendo 64 ROM</comment> <magic priority="50"> <match type="string" value="\x37\x80\x40\x12" offset="0" /> <match type="string" value="\x80\x37\x12\x40" offset="0" /> </magic> </mime-type> </mime-info>
update-mime-database /usr/share/mime