]> mj.ucw.cz Git - libucw.git/commitdiff
Images: Fixed compilation problems with enabled GraphicsMagick.
authorPavel Charvat <pchar@ucw.cz>
Wed, 7 May 2014 07:50:21 +0000 (09:50 +0200)
committerPavel Charvat <pchar@ucw.cz>
Wed, 7 May 2014 07:50:21 +0000 (09:50 +0200)
images/Makefile

index 760ac6383ad06294dc88443937aa326dc7302428..eeae5ebffea7badbd8dbb84bf5209e27552e7c16 100644 (file)
@@ -61,7 +61,7 @@ LIBIMAGES_MODS+=io-libmagick
 MAGICK_LIBS:=$(shell GraphicsMagick-config --libs)
 MAGICK_CPPFLAGS:=$(shell GraphicsMagick-config --cppflags)
 LIBIMAGES_LIBS+=$(MAGICK_LIBS) -lpthread
-$(o)/images/io-libmagick.o: CFLAGS+=$(MAGICK_CPPFLAGS)
+$(addprefix $(o)/images/io-libmagick,.o .oo): CFLAGS+=$(MAGICK_CPPFLAGS) -Wno-redundant-decls -Wno-undef
 endif
 
 PROGS+=$(LIBIMAGES_PROGS)