summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/rtaudio/files/rtaudio-4.1.2-cflags.patch')
-rw-r--r--media-libs/rtaudio/files/rtaudio-4.1.2-cflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/rtaudio/files/rtaudio-4.1.2-cflags.patch b/media-libs/rtaudio/files/rtaudio-4.1.2-cflags.patch
new file mode 100644
index 000000000000..49978458c682
--- /dev/null
+++ b/media-libs/rtaudio/files/rtaudio-4.1.2-cflags.patch
@@ -0,0 +1,12 @@
+--- rtaudio-4.1.2/configure.ac
++++ rtaudio-4.1.2/configure.ac
+@@ -62,8 +62,7 @@
+ AC_MSG_CHECKING(whether to compile debug version)
+ AC_ARG_ENABLE(debug,
+ [AS_HELP_STRING([--enable-debug],[enable various debug output])],
+- [: ${CXXFLAGS="-g -O0"};] [AC_DEFINE([__RTAUDIO_DEBUG__])],
+- [: ${CXXFLAGS="-O3"}])
++ [AC_DEFINE([__RTAUDIO_DEBUG__])], )
+
+ # Checks for programs.
+ AC_PROG_CXX(g++ CC c++ cxx)