diff --git a/src/apache2/Makefile.am b/src/apache2/Makefile.am index 2e50aa4..cc641fd 100644 --- a/src/apache2/Makefile.am +++ b/src/apache2/Makefile.am @@ -7,7 +7,7 @@ mod_imgmin_la_SOURCES = mod_imgmin.c ../imgmin.c ../dssim.c mod_imgmin_la: $(mod_imgmin_la_SOURCES) if [ "$(APXS)" != "" ]; then \ - $(APXS) -I `pwd`/.. `$(MAGICK_CONFIG) --cppflags --ldflags --libs|xargs` -Wc,-DIMGMIN_LIB -Wc,-W -Wc,-Wall -Wc,-Wno-unused-parameter -c $(mod_imgmin_la_SOURCES); \ + $(APXS) -I `pwd`/.. `$(MAGICK_CONFIG) --cppflags --ldflags --libs|xargs|sed "s/-fopenmp\s//"` -Wc,-DIMGMIN_LIB -Wc,-W -Wc,-Wall -Wc,-Wno-unused-parameter -c $(mod_imgmin_la_SOURCES); \ fi install-exec-local: mod_imgmin_la