File praat-allow-system-flags.patch of Package praat

---
 makefiles/makefile.defs.linux.pulse-gcc |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: praat-6.4.27/makefiles/makefile.defs.linux.pulse-gcc
===================================================================
--- praat-6.4.27.orig/makefiles/makefile.defs.linux.pulse-gcc
+++ praat-6.4.27/makefiles/makefile.defs.linux.pulse-gcc
@@ -11,13 +11,13 @@ PKG_CONFIG ?= pkg-config
 COMMONFLAGS = -DUNIX -Dlinux -DALSA -DHAVE_PULSEAUDIO -D_FILE_OFFSET_BITS=64 `$(PKG_CONFIG) --cflags gtk+-3.0` \
 	-Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O3 -g1 -pthread
 
-CFLAGS = -std=gnu99 $(COMMONFLAGS) -Werror=missing-prototypes -Werror=implicit
+CFLAGS += -std=gnu99 $(COMMONFLAGS) -Werror=missing-prototypes -Werror=implicit
 
-CXXFLAGS = -std=c++17 $(COMMONFLAGS) -Wshadow
+CXXFLAGS += -std=c++17 $(COMMONFLAGS) -Wshadow
 
 EXECUTABLE = praat
 
-LIBS = `$(PKG_CONFIG) --libs gtk+-3.0` -no-pie -lm -lpulse -lasound -lpthread
+LIBS = `${LDFLAGS} $(PKG_CONFIG) --libs gtk+-3.0` -no-pie -lm -lpulse -lasound -lpthread
 
 AR = ar
 RANLIB = ls
openSUSE Build Service is sponsored by