ports/databases/xapian-bindings/patches/patch-configure_ac

19 lines
748 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -1247,14 +1247,6 @@ if test yes = "$GXX" ; then
dnl with GCC 2.95 and we don't support anything older.
SWIG_CXXFLAGS="-fno-strict-aliasing"
- dnl We need to explicitly link against -lstdc++ on OpenBSD (discovered
- dnl on OpenBSD 3.7 with GCC 3.3.5 but this appears to be due to a
- dnl deliberate decision on the part of OpenBSD developers). Luckily
- dnl we can just always specify -lstdc++ explicitly if GCC is the
- dnl compiler and libtool will eliminate the duplicate on other
- dnl platforms.
- XAPIAN_LIBS="$XAPIAN_LIBS -lstdc++"
-
dnl Intel's C++ compiler is identified as "GXX" by autoconf's test - check
dnl which we actually have.
AC_EGREP_CPP(yes,