From c91a190f2867e7da832c95369782873cd122d0f2 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Wed, 28 Jul 2010 03:55:00 +0200 Subject: [PATCH] Remove support for exceptions. This reduces the binary size by almost 150K. --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile.am b/src/Makefile.am index 19d9476..f2dbbfc 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -28,6 +28,7 @@ noinst_HEADERS = asfont.h button.h cpu.h dirdialog.h FastDelegate.h \ AM_CFLAGS= @CFLAGS@ @SDL_CFLAGS@ AM_CXXFLAGS = @CXXFLAGS@ @SDL_CFLAGS@ -DTARGET_GP2X \ + -fno-exceptions \ -Wall -Wextra -Wundef -Wunused-macros gmenu2x_LDADD = @LIBS@ @SDL_LIBS@ -lSDL_image -lSDL_gfx -lSDL -ljpeg -lpng12 -lz -ldl -lpthread