File praat-allow-system-flags.patch of Package praat
--- makefiles/makefile.defs.linux.pulse-gcc.LE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: praat.github.io-6.4.52/makefiles/makefile.defs.linux.pulse-gcc.LE =================================================================== --- praat.github.io-6.4.52.orig/makefiles/makefile.defs.linux.pulse-gcc.LE +++ praat.github.io-6.4.52/makefiles/makefile.defs.linux.pulse-gcc.LE @@ -13,13 +13,13 @@ COMMONFLAGS = -DUNIX -Dlinux -DALSA -DJA -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 jack` -no-pie -lm -lpulse -lasound -lpthread +LIBS = `$(LDFLAGS) $(PKG_CONFIG) --libs gtk+-3.0 jack` -no-pie -lm -lpulse -lasound -lpthread AR = ar RANLIB = ls