Disable gcc optimization for langen

This commit is contained in:
Alexandre Moine 2016-01-02 18:44:54 +01:00
parent 22683f02ba
commit 15592281df
3 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,7 @@ dist_doc_DATA = README.md
hyperrogue_SOURCES = hyper.cpp
# Some definitions used in graph.cpp
hyperrogue_CPPFLAGS = -DFONTDESTDIR=\"$(pkgdatadir)/DejaVuSans-Bold.ttf\" -DMUSICDESTDIR=\"$(pkgdatadir)/hyperrogue-music.txt\"
hyperrogue_CPPFLAGS = -DFONTDESTDIR=\"$(pkgdatadir)/DejaVuSans-Bold.ttf\" -DMUSICDESTDIR=\"$(pkgdatadir)/hyperrogue-music.txt\" -O2
# Musicdir
musicdir=$(datadir)/hyperrogue/music
@ -19,6 +19,8 @@ music/hyperrogue-music.txt: hyperrogue
# Langen binary rules
noinst_PROGRAMS = langen
langen_SOURCES = langen.cpp
# Disable optimization, not needed
langen_CXXFLAGS = -O0
# Generation of language-data.cpp
language-data.cpp: langen

1
configure vendored
View File

@ -2863,6 +2863,7 @@ END
fi
fi
${CXXFLAGS=""}
#AC_CONFIG_HEADERS([config.h])

View File

@ -1,9 +1,10 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_PREREQ([2.68])
AC_INIT([hyperrogue], [7.7h])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
${CXXFLAGS=""}
AC_CONFIG_SRCDIR([hyperpoint.cpp])
#AC_CONFIG_HEADERS([config.h])