[epiphany] Never override CFLAGS in a makefile



commit 8c9e73d57bac41bc65e7283929932f06f88da9c4
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sun Dec 7 19:42:14 2014 +0100

    Never override CFLAGS in a makefile
    
    This prevents the user from specifying his own desired CFLAGS.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741223

 tests/Makefile.am |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index ba3242f..21bfd9a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -99,11 +99,10 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src      \
        -I$(top_srcdir)/src/bookmarks
 
-CFLAGS = \
+AM_CFLAGS = \
        -DTEST_DIR=\"$(srcdir)\"\
        $(DEPENDENCIES_CFLAGS)  \
-       $(CODE_COVERAGE_CFLAGS) \
-       $(AM_CFLAGS)
+       $(CODE_COVERAGE_CFLAGS)
 
 LDADD = \
        $(top_builddir)/src/libephymain.la \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]