[gnome-terminal] build: Fix config.h include order



commit 90e7cf61cf1b0249eeab012ab9c91717bd6116e1
Author: Christian Persch <chpe gnome org>
Date:   Sun Mar 29 13:37:27 2015 +0200

    build: Fix config.h include order
    
    Apparently it's impossible to make vala generate the include directive for
    config.h as the first include, no matter how hard you try. So just add it
    with --include on the CFLAGS line.

 src/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 4848e51..7a80f1c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -195,6 +195,7 @@ gterminal_CPPFLAGS = \
 
 # See bug #710862 about -Wsuggest-attribute=format
 gterminal_CFLAGS = \
+       --include config.h \
        $(GTERMINAL_CFLAGS) \
        $(AM_CFLAGS) \
        -Wno-cast-qual \


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