Blame SOURCES/newt-snackflags.patch

2f81bd
commit 1321e6f91a45e1c06ad648b348503a7754be5b83
2f81bd
Author: Miroslav Lichvar <mlichvar@redhat.com>
2f81bd
Date:   Tue Oct 1 16:37:55 2019 +0200
2f81bd
2f81bd
    don't ignore CFLAGS when building snack
2f81bd
    
2f81bd
    In addition to the flags returned by python-config --cflags, use the
2f81bd
    user-specified CFLAGS when building the snack object.
2f81bd
2f81bd
diff --git a/Makefile.in b/Makefile.in
2f81bd
index f6df602..f991184 100644
2f81bd
--- a/Makefile.in
2f81bd
+++ b/Makefile.in
2f81bd
@@ -95,8 +95,8 @@ _snack.$(SOEXT):   snack.c $(LIBNEWTSH)
2f81bd
 		PIFLAGS=`$$pyconfig --includes`; \
2f81bd
 		PLDFLAGS=`$$pyconfig --ldflags`; \
2f81bd
 		PLFLAGS=`$$pyconfig --libs`; \
2f81bd
-		echo $(CC) $(SHCFLAGS) $(CPPFLAGS) $$PIFLAGS $$PCFLAGS -c -o $$ver/snack.o snack.c; \
2f81bd
-		$(CC) $(SHCFLAGS) $(CPPFLAGS) $$PIFLAGS $$PCFLAGS -c -o $$ver/snack.o snack.c; \
2f81bd
+		echo $(CC) $(SHCFLAGS) $(CFLAGS) $(CPPFLAGS) $$PIFLAGS $$PCFLAGS -c -o $$ver/snack.o snack.c; \
2f81bd
+		$(CC) $(SHCFLAGS) $(CFLAGS) $(CPPFLAGS) $$PIFLAGS $$PCFLAGS -c -o $$ver/snack.o snack.c; \
2f81bd
 		echo $(CC) --shared $$PLDFLAGS $$PLFLAGS $(LDFLAGS) -o $$ver/_snack.$(SOEXT) $$ver/snack.o -L.  -lnewt $(LIBS); \
2f81bd
 		$(CC) --shared $$PLDFLAGS $$PLFLAGS $(LDFLAGS) -o $$ver/_snack.$(SOEXT) $$ver/snack.o -L.  -lnewt $(LIBS); \
2f81bd
 	done || :