--- bsnes-libretro/Makefile.orig	2016-11-04 05:47:02 UTC
+++ bsnes-libretro/Makefile
@@ -32,7 +32,7 @@ sfc_lagfix := 1
 ifneq ($(debug),)
   flags := -I. -Ilibco -O0 -g
 else
-  flags := -I. -Ilibco -O3 -fomit-frame-pointer
+  flags := -I. -Ilibco
 endif
 
 cflags := -std=gnu99 -xc
