[gjs] move GJS_CFLAGS to CPPFLAGS in Makefile.am to use with C++ also



commit f2a53804b87bdec4298a58e6d0e4d1bd3919d517
Author: Havoc Pennington <hp pobox com>
Date:   Sun Jan 3 11:42:15 2010 -0500

    move GJS_CFLAGS to CPPFLAGS in Makefile.am to use with C++ also
    
    Technically configure.ac should probably be defining CPPFLAGS instead of
    CFLAGS but this is wrong from pkg-config on up and the CFLAGS we define
    are really CPPFLAGS.

 Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 3f6ae18..fa0bbb8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -53,10 +53,10 @@ lib_LTLIBRARIES += libgjs.la
 
 libgjs_la_CPPFLAGS =		\
 	$(AM_CPPFLAGS)		\
+	$(GJS_CFLAGS)		\
 	$(gjs_directory_defines)
 libgjs_la_CFLAGS = 		\
-	$(AM_CFLAGS)		\
-	$(GJS_CFLAGS)
+	$(AM_CFLAGS)
 libgjs_la_LDFLAGS = 		\
 	-export-symbols-regex "^[^_]" -version-info 0:0:0	\
 	-R $(FIREFOX_JS_LIBDIR) -rdynamic



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