From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- .../resid-0.16_p2-drop-CXXFLAGS-override.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 media-libs/resid/files/resid-0.16_p2-drop-CXXFLAGS-override.patch (limited to 'media-libs/resid/files') diff --git a/media-libs/resid/files/resid-0.16_p2-drop-CXXFLAGS-override.patch b/media-libs/resid/files/resid-0.16_p2-drop-CXXFLAGS-override.patch new file mode 100644 index 000000000000..f116c1d6f8b9 --- /dev/null +++ b/media-libs/resid/files/resid-0.16_p2-drop-CXXFLAGS-override.patch @@ -0,0 +1,24 @@ +--- a/configure.in ++++ b/configure.in +@@ -26,20 +26,6 @@ AC_SUBST(RESID_INLINE) + dnl Checks for programs. + AC_PROG_CXX + +-dnl Set CXXFLAGS for g++. Use -fno-exceptions if supported. +-if test "$GXX" = yes; then +- if test "$ac_test_CXXFLAGS" != set; then +- CXXFLAGS="-g -Wall -O2 -funroll-loops -fomit-frame-pointer -fno-exceptions" +- AC_MSG_CHECKING([whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works]) +- AC_TRY_COMPILE([], +- [int test;], +- [ AC_MSG_RESULT(yes) ], +- [ AC_MSG_RESULT(no) +- CXXFLAGS="-g -Wall -O2 -funroll-loops -fomit-frame-pointer" +- ]) +- fi +-fi +- + AC_PATH_PROG(PERL, perl) + + dnl Checks for libraries. +-- -- cgit v1.2.3