[gimp/gimp-2-8] Bug 782363 - Test will not build in app/config and app/test when using clang



commit 579cc3c3eba68db979338034f8a44a22b87a1162
Author: Michael Schumacher <schumaml gmx de>
Date:   Mon May 15 22:40:11 2017 +0200

    Bug 782363 - Test will not build in app/config and app/test when using clang
    
    Reported by Міша <mi+gnome-2017 aldan algebra com>.

 app/config/Makefile.am |   18 +++++++++---------
 app/tests/Makefile.am  |   32 ++++++++++++++++----------------
 2 files changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/app/config/Makefile.am b/app/config/Makefile.am
index 5ba7704..1311e47 100644
--- a/app/config/Makefile.am
+++ b/app/config/Makefile.am
@@ -80,15 +80,15 @@ test_config_DEPENDENCIES = $(gimpconfig_libs)
 # We need this due to circular dependencies, see more detailed
 # comments about it in app/Makefile.am
 test_config_LDFLAGS = \
-       -u $(SYMPREFIX)xcf_init                         \
-       -u $(SYMPREFIX)gimp_pdb_new                     \
-       -u $(SYMPREFIX)internal_procs_init              \
-       -u $(SYMPREFIX)gimp_plug_in_manager_restore     \
-       -u $(SYMPREFIX)plug_in_icc_profile_apply_rgb    \
-       -u $(SYMPREFIX)gimp_vectors_undo_get_type       \
-       -u $(SYMPREFIX)gimp_vectors_mod_undo_get_type   \
-       -u $(SYMPREFIX)gimp_vectors_prop_undo_get_type  \
-       -u $(SYMPREFIX)gimp_image_map_config_get_type
+       -Wl,-u$(SYMPREFIX)xcf_init                              \
+       -Wl,-u$(SYMPREFIX)gimp_pdb_new                          \
+       -Wl,-u$(SYMPREFIX)internal_procs_init                   \
+       -Wl,-u$(SYMPREFIX)gimp_plug_in_manager_restore          \
+       -Wl,-u$(SYMPREFIX)plug_in_icc_profile_apply_rgb         \
+       -Wl,-u$(SYMPREFIX)gimp_vectors_undo_get_type            \
+       -Wl,-u$(SYMPREFIX)gimp_vectors_mod_undo_get_type        \
+       -Wl,-u$(SYMPREFIX)gimp_vectors_prop_undo_get_type       \
+       -Wl,-u$(SYMPREFIX)gimp_image_map_config_get_type
 
 test_config_LDADD = \
        ../xcf/libappxcf.a                      \
diff --git a/app/tests/Makefile.am b/app/tests/Makefile.am
index 96b9550..be1440c 100644
--- a/app/tests/Makefile.am
+++ b/app/tests/Makefile.am
@@ -68,22 +68,22 @@ AM_CPPFLAGS = \
 # We need this due to circular dependencies, see more detailed
 # comments about it in app/Makefile.am
 AM_LDFLAGS = \
-       -u $(SYMPREFIX)xcf_init                         \
-       -u $(SYMPREFIX)base_init                        \
-       -u $(SYMPREFIX)internal_procs_init              \
-       -u $(SYMPREFIX)gimp_plug_in_manager_restore     \
-       -u $(SYMPREFIX)gimp_pdb_compat_param_spec       \
-       -u $(SYMPREFIX)gui_init                         \
-       -u $(SYMPREFIX)plug_in_icc_profile_apply_rgb    \
-       -u $(SYMPREFIX)gimp_image_map_config_get_type   \
-       -u $(SYMPREFIX)gimp_vectors_undo_get_type       \
-       -u $(SYMPREFIX)gimp_vectors_mod_undo_get_type   \
-       -u $(SYMPREFIX)gimp_vectors_prop_undo_get_type  \
-       -u $(SYMPREFIX)actions_init                     \
-       -u $(SYMPREFIX)gimp_error_dialog_new            \
-       -u $(SYMPREFIX)menus_save                       \
-       -u $(SYMPREFIX)gimp_tools_save                  \
-       -u $(SYMPREFIX)gimp_curve_map_pixels
+       -Wl,-u$(SYMPREFIX)xcf_init                              \
+       -Wl,-u$(SYMPREFIX)base_init                             \
+       -Wl,-u$(SYMPREFIX)internal_procs_init                   \
+       -Wl,-u$(SYMPREFIX)gimp_plug_in_manager_restore          \
+       -Wl,-u$(SYMPREFIX)gimp_pdb_compat_param_spec            \
+       -Wl,-u$(SYMPREFIX)gui_init                              \
+       -Wl,-u$(SYMPREFIX)plug_in_icc_profile_apply_rgb         \
+       -Wl,-u$(SYMPREFIX)gimp_image_map_config_get_type        \
+       -Wl,-u$(SYMPREFIX)gimp_vectors_undo_get_type            \
+       -Wl,-u$(SYMPREFIX)gimp_vectors_mod_undo_get_type        \
+       -Wl,-u$(SYMPREFIX)gimp_vectors_prop_undo_get_type       \
+       -Wl,-u$(SYMPREFIX)actions_init                          \
+       -Wl,-u$(SYMPREFIX)gimp_error_dialog_new                 \
+       -Wl,-u$(SYMPREFIX)menus_save                            \
+       -Wl,-u$(SYMPREFIX)gimp_tools_save                       \
+       -Wl,-u$(SYMPREFIX)gimp_curve_map_pixels
 
 # Note that we have some duplicate entries here too to work around
 # circular dependencies and systems on the same architectural layer as


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