* Rebase praat-allow-system-flags.patch for updated version. OBS-URL: https://build.opensuse.org/package/show/science/praat?expand=0&rev=129
26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
---
|
|
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
|