diff options
| -rw-r--r-- | meta-networking/recipes-daemons/squid/squid_6.9.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/squid/squid_6.9.bb b/meta-networking/recipes-daemons/squid/squid_6.9.bb index f0663a5e04..33d286e122 100644 --- a/meta-networking/recipes-daemons/squid/squid_6.9.bb +++ b/meta-networking/recipes-daemons/squid/squid_6.9.bb | |||
| @@ -68,6 +68,11 @@ EXTRA_OECONF += "--with-default-user=squid \ | |||
| 68 | --with-logdir=${localstatedir}/log/${BPN} \ | 68 | --with-logdir=${localstatedir}/log/${BPN} \ |
| 69 | 'PERL=${USRBINPATH}/env perl'" | 69 | 'PERL=${USRBINPATH}/env perl'" |
| 70 | 70 | ||
| 71 | # Workaround a build failure when using a native compiler that need -std=c++17 | ||
| 72 | # with a cross-compiler that doesn't. | ||
| 73 | # Upstream issue closed as invalid : https://bugs.squid-cache.org/show_bug.cgi?id=5376 | ||
| 74 | BUILD_CXXFLAGS += "-std=c++17" | ||
| 75 | |||
| 71 | export BUILDCXXFLAGS="${BUILD_CXXFLAGS}" | 76 | export BUILDCXXFLAGS="${BUILD_CXXFLAGS}" |
| 72 | 77 | ||
| 73 | TESTDIR = "test-suite" | 78 | TESTDIR = "test-suite" |
