* apps/statues/Makefile.am (APPS_CXXFLAGS): New.
Use it...
(AM_CXXFLAGS): ...here.
---
milena/ChangeLog | 8 ++++++++
milena/apps/statues/Makefile.am | 4 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index a9b57ab..5325ab4 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,13 @@
2009-05-15 Roland Levillain <roland(a)lrde.epita.fr>
+ Get compilation flags for applications from configure.
+
+ * apps/statues/Makefile.am (APPS_CXXFLAGS): New.
+ Use it...
+ (AM_CXXFLAGS): ...here.
+
+2009-05-15 Roland Levillain <roland(a)lrde.epita.fr>
+
Fix tests/io/magick/Makefile.
* tests/io/magick/Makefile.am (magick_LDFLAGS): Rename as...
diff --git a/milena/apps/statues/Makefile.am b/milena/apps/statues/Makefile.am
index bf0aa4c..417b1e7 100644
--- a/milena/apps/statues/Makefile.am
+++ b/milena/apps/statues/Makefile.am
@@ -8,8 +8,8 @@ include $(top_srcdir)/external/trimesh/gluit/gluit.mk
AM_CPPFLAGS = -I$(top_srcdir)/milena
CPPFLAGS_trimesh = -I$(top_srcdir)/external/trimesh/include
# Produce fast code.
-# FIXME: This is GCC-dependent; use a variable computed by configure instead.
-AM_CXXFLAGS = -Wall -Wextra -ggdb -O3 -DNDEBUG
+APPS_CXXFLAGS = @APPS_CXXFLAGS@
+AM_CXXFLAGS = $(APPS_CXXFLAGS)
# Find the trimesh library and its dependencies.
#
# Don't use TRIMESH_LDFLAGS, since it looks like the LDFLAGS of the
--
1.6.1.2
Show replies by date