[mathicgb] 04/14: bypass a bug in g++ 4.8.2
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Sep 6 00:27:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository mathicgb.
commit dc58c98cb6ec864ae782cac1f951d36b265f60ff
Author: Daniel R. Grayson <dan at math.uiuc.edu>
Date: Tue Sep 23 13:34:26 2014 -0700
bypass a bug in g++ 4.8.2
---
Makefile.am | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index cb4bf89..065494e 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -82,7 +82,7 @@ mgb_SOURCES = src/cli/GBMain.cpp src/cli/CommonParams.hpp \
src/cli/MatrixAction.cpp src/cli/MatrixAction.hpp \
src/cli/SigGBAction.hpp src/cli/SigGBAction.cpp \
src/cli/HelpAction.hpp src/cli/HelpAction.cpp
-mgb_LDADD = $(top_builddir)/libmathicgb.a $(DEPS_LIBS)
+mgb_LDADD = $(top_builddir)/libmathicgb.a $(DEPS_LIBS) -lpthread
# set up tests to run on "make check"
if with_gtest
@@ -90,7 +90,10 @@ if with_gtest
TESTS=unittest
check_PROGRAMS=$(TESTS)
-unittest_LDADD = $(DEPS_LIBS) $(top_builddir)/libmathicgb.a $(DEPS_LIBS)
+# this prevents g++ 4.8.2 from crashing and churning through memory when compiling under Ubuntu 64 14.04.1
+src/test/MonoMonoid.o : CXXFLAGS += -O0
+
+unittest_LDADD = $(DEPS_LIBS) $(top_builddir)/libmathicgb.a $(DEPS_LIBS) -lpthread
test_LIBS=
unittest_SOURCES=src/test/Range.cpp src/test/gtestInclude.cpp \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mathicgb.git
More information about the debian-science-commits
mailing list