libpcre_7.6.bb: add workaround for build failures on powerpc/soft-float
authorJeremy Laine <jeremy.laine@m4x.org>
Thu, 24 Apr 2008 13:28:52 +0000 (13:28 +0000)
committerJeremy Laine <jeremy.laine@m4x.org>
Thu, 24 Apr 2008 13:28:52 +0000 (13:28 +0000)
packages/libpcre/libpcre_7.6.bb

index 3171e10..a065b56 100644 (file)
@@ -5,7 +5,7 @@ provides a POSIX calling interface to PCRE; the regular expressions \
 themselves still follow Perl syntax and semantics. The header file for \
 the POSIX-style functions is called pcreposix.h."
 SECTION = "devel"
-PR = "r1"
+PR = "r2"
 LICENSE = "BSD"
 SRC_URI = "${SOURCEFORGE_MIRROR}/pcre/pcre-${PV}.tar.bz2 \
            file://pcre-cross.patch;patch=1"
@@ -19,6 +19,7 @@ PARALLEL_MAKE = ""
 
 LEAD_SONAME = "libpcre.so"
 CFLAGS_append = " -D_REENTRANT"
+CXXFLAGS_powerpc += "-lstdc++"
 EXTRA_OECONF = " --with-link-size=2 --enable-newline-is-lf --with-match-limit=10000000 --enable-rebuild-chartables --enable-utf8"
 
 do_compile () {