From ded88f4c3661d2b7601be26fbb7107e57fa76b89 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 26 Jun 2017 22:17:40 +0300 Subject: [PATCH] Respect user-set optimization flags The build should respect optimization flags set by the user --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 50bad936..ab9d2f91 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,7 @@ dist_doc_DATA = README.md hyperrogue_SOURCES = hyper.cpp savepng.c # Some definitions used in graph.cpp -hyperrogue_CPPFLAGS = -DFONTDESTDIR=\"$(pkgdatadir)/DejaVuSans-Bold.ttf\" -DMUSICDESTDIR=\"$(pkgdatadir)/hyperrogue-music.txt\" -DSOUNDDESTDIR=\"$(pkgdatadir)/sounds/\" -O2 +hyperrogue_CPPFLAGS = -DFONTDESTDIR=\"$(pkgdatadir)/DejaVuSans-Bold.ttf\" -DMUSICDESTDIR=\"$(pkgdatadir)/hyperrogue-music.txt\" -DSOUNDDESTDIR=\"$(pkgdatadir)/sounds/\" # Musicdir musicdir=$(datadir)/hyperrogue/music