* scribo.mk (SCRIBO_CXXFLAGS): New.
(AM_CXXFLAGS): Set to $(SCRIBO_CXXFLAGS).
* tests/tests.mk (SCRIBO_TESTS_CXXFLAGS): New.
(AM_CXXFLAGS): Set to $(SCRIBO_TESTS_CXXFLAGS).
---
scribo/ChangeLog | 9 +++++++++
scribo/scribo.mk | 5 +++--
scribo/tests/tests.mk | 5 +++--
3 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index 3c7fe21..9506589 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,3 +1,12 @@
+2010-04-23 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Get C++ compiler flags for Scribo from configure.
+
+ * scribo.mk (SCRIBO_CXXFLAGS): New.
+ (AM_CXXFLAGS): Set to $(SCRIBO_CXXFLAGS).
+ * tests/tests.mk (SCRIBO_TESTS_CXXFLAGS): New.
+ (AM_CXXFLAGS): Set to $(SCRIBO_TESTS_CXXFLAGS).
+
2010-06-03 Roland Levillain <roland(a)lrde.epita.fr>
Clean up a bit Scribo's Makefiles.
diff --git a/scribo/scribo.mk b/scribo/scribo.mk
index 62ffcad..1912e42 100644
--- a/scribo/scribo.mk
+++ b/scribo/scribo.mk
@@ -1,4 +1,4 @@
-# Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE).
+# Copyright (C) 2009, 2010 EPITA Research and Development Laboratory (LRDE).
#
# This file is part of Olena.
#
@@ -18,4 +18,5 @@
# Add path to Scribo's headers
AM_CPPFLAGS = -I$(top_srcdir)/ -I$(top_builddir)/ -I$(top_srcdir)/milena
-I$(top_builddir)/milena
-AM_CXXFLAGS = -DNDEBUG -O2
\ No newline at end of file
+SCRIBO_CXXFLAGS = @SCRIBO_CXXFLAGS@
+AM_CXXFLAGS = $(SCRIBO_CXXFLAGS)
diff --git a/scribo/tests/tests.mk b/scribo/tests/tests.mk
index bc9b2d9..d42c206 100644
--- a/scribo/tests/tests.mk
+++ b/scribo/tests/tests.mk
@@ -1,4 +1,4 @@
-# Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE).
+# Copyright (C) 2009, 2010 EPITA Research and Development Laboratory (LRDE).
#
# This file is part of Olena.
#
@@ -16,4 +16,5 @@
AM_CPPFLAGS = -I$(top_srcdir)/ -I$(top_builddir)/ -I$(top_srcdir)/milena
-I$(top_builddir)/milena
-AM_CXXFLAGS = -g -O0
+SCRIBO_TESTS_CXXFLAGS = @SCRIBO_TESTS_CXXFLAGS@
+AM_CXXFLAGS = $(SCRIBO_TESTS_CXXFLAGS)
--
1.5.6.5