[gnome-builder/wip/libide] libide: adjust cflags ordering



commit 77a8762e9e07d2ece15c424861a8b07ed01071aa
Author: Christian Hergert <christian hergert me>
Date:   Mon Mar 2 14:50:57 2015 -0800

    libide: adjust cflags ordering

 tests/tests.mk |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/tests/tests.mk b/tests/tests.mk
index ebfa5d2..b1c37d3 100644
--- a/tests/tests.mk
+++ b/tests/tests.mk
@@ -1,3 +1,4 @@
+# Place after libide_1_0_la_CFLAGS
 test_shared_cflags = \
        -UG_DISABLE_ASSERT \
        -UG_DISABLE_CAST_CHECKS \
@@ -22,8 +23,8 @@ noinst_PROGRAMS += test-ide-context
 TESTS += test-ide-context
 test_ide_context_SOURCES = tests/test-ide-context.c
 test_ide_context_CFLAGS = \
-       $(test_shared_cflags) \
        $(libide_1_0_la_CFLAGS) \
+       $(test_shared_cflags) \
        -DTEST_DATA_DIR="\"$(top_srcdir)/tests/data\""
 test_ide_context_LDADD = libide-1.0.la $(LIBIDE_LIBS)
 
@@ -32,8 +33,8 @@ noinst_PROGRAMS += test-ide-back-forward-list
 TESTS += test-ide-back-forward-list
 test_ide_back_forward_list_SOURCES = tests/test-ide-back-forward-list.c
 test_ide_back_forward_list_CFLAGS = \
-       $(test_shared_cflags) \
        $(libide_1_0_la_CFLAGS) \
+       $(test_shared_cflags) \
        -DTEST_DATA_DIR="\"$(top_srcdir)/tests/data\""
 test_ide_back_forward_list_LDADD = libide-1.0.la $(LIBIDE_LIBS)
 
@@ -42,8 +43,8 @@ noinst_PROGRAMS += test-ide-buffer-manager
 TESTS += test-ide-buffer-manager
 test_ide_buffer_manager_SOURCES = tests/test-ide-buffer-manager.c
 test_ide_buffer_manager_CFLAGS = \
-       $(test_shared_cflags) \
        $(libide_1_0_la_CFLAGS) \
+       $(test_shared_cflags) \
        -DTEST_DATA_DIR="\"$(top_srcdir)/tests/data\""
 test_ide_buffer_manager_LDADD = libide-1.0.la $(LIBIDE_LIBS)
 
@@ -51,8 +52,8 @@ noinst_PROGRAMS += test-ide-buffer
 TESTS += test-ide-buffer
 test_ide_buffer_SOURCES = tests/test-ide-buffer.c
 test_ide_buffer_CFLAGS = \
-       $(test_shared_cflags) \
        $(libide_1_0_la_CFLAGS) \
+       $(test_shared_cflags) \
        -DTEST_DATA_DIR="\"$(top_srcdir)/tests/data\""
 test_ide_buffer_LDADD = libide-1.0.la $(LIBIDE_LIBS)
 
@@ -60,8 +61,8 @@ test_ide_buffer_LDADD = libide-1.0.la $(LIBIDE_LIBS)
 noinst_PROGRAMS += test-ide-source-view
 test_ide_source_view_SOURCES = tests/test-ide-source-view.c
 test_ide_source_view_CFLAGS = \
-       $(test_shared_cflags) \
        $(libide_1_0_la_CFLAGS) \
+       $(test_shared_cflags) \
        -DTEST_DATA_DIR="\"$(top_srcdir)/tests/data\""
 test_ide_source_view_LDADD = libide-1.0.la $(LIBIDE_LIBS)
 


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