diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/rtaudio/files/rtaudio-4.0.11-cflags.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/rtaudio/files/rtaudio-4.0.11-cflags.patch')
-rw-r--r-- | media-libs/rtaudio/files/rtaudio-4.0.11-cflags.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/media-libs/rtaudio/files/rtaudio-4.0.11-cflags.patch b/media-libs/rtaudio/files/rtaudio-4.0.11-cflags.patch new file mode 100644 index 000000000000..9fa657929c21 --- /dev/null +++ b/media-libs/rtaudio/files/rtaudio-4.0.11-cflags.patch @@ -0,0 +1,24 @@ +--- rtaudio-4.0.11/configure.ac ++++ rtaudio-4.0.11/configure.ac +@@ -23,8 +23,8 @@ + AC_MSG_CHECKING(whether to compile debug version) + AC_ARG_ENABLE(debug, + [ --enable-debug = enable various debug output], +- [AC_SUBST( cppflag, [-D__RTAUDIO_DEBUG__] ) AC_SUBST( cxxflag, [-g] ) AC_SUBST( object_path, [Debug] ) AC_MSG_RESULT(yes)], +- [AC_SUBST( cppflag, [] ) AC_SUBST( cxxflag, [-O2] ) AC_SUBST( object_path, [Release] ) AC_MSG_RESULT(no)]) ++ [AC_SUBST( cppflag, [-D__RTAUDIO_DEBUG__] ) AC_SUBST( object_path, [Debug] ) AC_MSG_RESULT(yes)], ++ [AC_SUBST( cppflag, [] ) AC_SUBST( object_path, [Release] ) AC_MSG_RESULT(no)]) + + + # Checks for functions +@@ -33,10 +33,6 @@ + # For -I and -D flags + CPPFLAGS="$CPPFLAGS $cppflag" + +-# For debugging and optimization ... overwrite default because it has both -g and -O2 +-#CXXFLAGS="$CXXFLAGS $cxxflag" +-CXXFLAGS="$cxxflag" +- + # Check compiler and use -Wall if gnu. + if [test $GXX = "yes" ;] then + AC_SUBST( cxxflag, [-Wall] ) |