pidgin/pidgin

Stop removing -Wall from CFLAGS
release-2.x.y
4 months ago, Elliott Sales de Andrade
e1d146d0b604
Stop removing -Wall from CFLAGS

We really shouldn't override what the user has set externally. While it's true
that `-Wall` is set in `DEBUG_CFLAGS` later, dropping it from `CFLAGS` breaks
Perl detection somehow. Instead of going through the work to figure out how to
fix that, just stop modifying `CFLAGS` from the beginning.

Testing Done:
Compiled on Rawhide with the attached patch.

Bugs closed: PIDGIN-16593

Reviewed at https://reviews.imfreedom.org/r/2946/
#
# Makefile.mingw
#
# Description: Makefile for win32 (mingw) version of Pidgin pixmaps
#
PIDGIN_TREE_TOP := ../..
include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
datadir := $(PIDGIN_INSTALL_DIR)
-include ./Makefile.am.mingw
.PHONY: install clean
install: ./Makefile.am.mingw
if test '$(SUBDIRS)'; then \
list='$(SUBDIRS)'; for subdir in $$list; do \
$(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) install || exit 1 ;\
done; \
fi;
if test '$(nobase_dist_pidginpixmap_DATA)'; then \
list='$(nobase_dist_pidginpixmap_DATA)'; for file in $$list; do \
dir=`dirname $$file`; \
mkdir -p $(pidginpixmapdir)/$$dir; \
cp $$file $(pidginpixmapdir)/$$dir/; \
done; \
fi;
if test '$(pidginbuttonpix_DATA)'; then \
mkdir -p $(pidginbuttonpixdir); \
cp $(pidginbuttonpix_DATA) $(pidginbuttonpixdir); \
fi;
if test '$(pidgindistpix_DATA)'; then \
mkdir -p $(pidgindistpixdir); \
cp $(pidgindistpix_DATA) $(pidgindistpixdir); \
fi;
clean: ./Makefile.am.mingw
if test '$(SUBDIRS)'; then \
list='$(SUBDIRS)'; for subdir in $$list; do \
$(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) clean;\
done; \
fi;
rm -f ./Makefile.am.mingw
./Makefile.am.mingw: ./Makefile.am ./Makefile.mingw
sed \
-e 's/^if\ INSTALL_PIXMAPS/ifeq (\$$(INSTALL_PIXMAPS), 1)/' \
-e 's/^if\ ENABLE_TRAYCOMPAT/ifeq (\$$(ENABLE_TRAYCOMPAT), 1)/' \
$< > $@
include $@