[gimp] Bug 783629 - invert-svg build failure



commit 9ba2a6724cc91161383ac00364ef27513e963aca
Author: Jehan <jehan girinstud io>
Date:   Tue Jun 13 17:10:57 2017 +0200

    Bug 783629 - invert-svg build failure
    
    Fedora hardens its packages by default since Fedora 23 and the home-made
    CC call to build invert-svg needs position-independent code. The flag
    -fPIC is apparently harmless in basic cases since it still builds when
    non-hardened and the doc implies that it would just be ignored if not
    supported by the target machine. As far as I could search, adding it
    should not break other people's builds.
    So what the heck. That's just a temporary build tool, let's add this
    flag and see if others complain!

 tools/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/Makefile.am b/tools/Makefile.am
index aafb81f..3184da9 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -45,7 +45,7 @@ test_clipboard_LDADD = $(GTK_LIBS)
 
 if ENABLE_VECTOR_ICONS
 invert-svg$(BUILD_EXEEXT): invert-svg.c
-       $(CC_FOR_BUILD) -o $@ $< $(NATIVE_GLIB_LIBS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) 
$(LDFLAGS_FOR_BUILD) $(NATIVE_GLIB_CFLAGS)
+       $(CC_FOR_BUILD) -fPIC -o $@ $< $(NATIVE_GLIB_LIBS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) 
$(LDFLAGS_FOR_BUILD) $(NATIVE_GLIB_CFLAGS)
 
 
 # compute_svg_viewbox is not built or used because librsvg is just too buggy


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