--- makefiles/makefile.defs.linux.pulse-gcc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: praat.github.io-6.4.64/makefiles/makefile.defs.linux.pulse-gcc =================================================================== --- praat.github.io-6.4.64.orig/makefiles/makefile.defs.linux.pulse-gcc +++ praat.github.io-6.4.64/makefiles/makefile.defs.linux.pulse-gcc @@ -12,13 +12,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