Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

simulator: Hopefully fix red introduced in 5b61c79cf

This problem only happened with GCC7 (and older?) simulator builds, and
was introduced by an incorrect test that always stripped our default
optimization (-Os) in simulator builds.

The fix is to correct the test to only strip -Os if the user explicitly
enables a debug build.

Also, use -Og instead of (implicit) -O0, as per GCC recommendations.

Change-Id: I61091b3cdf5323504961c0bb2d80aa65049eb8fb

+2 -2
+2 -2
tools/configure
··· 262 262 winbuild="" 263 263 GCCOPTS=`echo $CCOPTS | sed -e s/\ -ffreestanding// -e s/\ -nostdlib// -e s/\ -Wundef//` 264 264 265 - if [ "$debug" ]; then 266 - GCCOPTS=`echo $GCCOPTS | sed -e s/\ -Os//` 265 + if [ "yes" = "$use_debug" ]; then 266 + GCCOPTS=`echo $GCCOPTS | sed -e s/\ -Os/-Og/` 267 267 fi 268 268 269 269 GCCOPTS="$GCCOPTS -fno-builtin -g"