mirror of https://github.com/GNOME/gimp.git
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!
This commit is contained in:
parent
fb1b7a835b
commit
9ba2a6724c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue