From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- .../files/dbmeasure-0.0.20100217-makefile.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 media-sound/dbmeasure/files/dbmeasure-0.0.20100217-makefile.patch (limited to 'media-sound/dbmeasure/files') diff --git a/media-sound/dbmeasure/files/dbmeasure-0.0.20100217-makefile.patch b/media-sound/dbmeasure/files/dbmeasure-0.0.20100217-makefile.patch new file mode 100644 index 000000000000..6851c9b357c7 --- /dev/null +++ b/media-sound/dbmeasure/files/dbmeasure-0.0.20100217-makefile.patch @@ -0,0 +1,23 @@ +We drop the -g for debug output but we keep the -O0, as we don't want GCC +to optimize out some critical math. + +--- a/Makefile ++++ b/Makefile +@@ -1,13 +1,13 @@ +-CFLAGS=-Wextra -Wall -O0 -g -pipe `pkg-config --cflags alsa` +-LIBS=`pkg-config --libs alsa` -lm ++CFLAGS+=-Wextra -Wall -O0 $(shell $(PKG_CONFIG) --cflags alsa) ++LIBS=-lm $(shell $(PKG_CONFIG) --libs alsa) + + all: dbmeasure dbverify + + dbmeasure: dbmeasure.o +- $(CC) -o dbmeasure $^ $(CFLAGS) $(LIBS) ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o dbmeasure $^ $(LIBS) + + dbverify: dbverify.o +- $(CC) -o dbverify $^ $(CFLAGS) $(LIBS) ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o dbverify $^ $(LIBS) + + clean: + rm -f *.o dbmeasure dbverify -- cgit v1.2.3