diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /media-sound/dbmeasure/files/dbmeasure-0.0.20100217-makefile.patch | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'media-sound/dbmeasure/files/dbmeasure-0.0.20100217-makefile.patch')
-rw-r--r-- | media-sound/dbmeasure/files/dbmeasure-0.0.20100217-makefile.patch | 23 |
1 files changed, 23 insertions, 0 deletions
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 |