wvstreams: fixing segfault with new gcc optimizations

Recent GCC optimizations -ftree-dce and -foptimize-sibling-calls are causing
a segfault in the wvstream stackmaster. Fedora had the same problem and
resolved the issue by removing these optimizations.

See: https://bugzilla.redhat.com/show_bug.cgi?id=812651

Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Kinsella, Ray
2016-05-06 14:49:19 +01:00
committed by Martin Jansa
parent 102e699864
commit 786ab843f0
@@ -20,6 +20,8 @@ inherit autotools-brokensep pkgconfig
PARALLEL_MAKE = ""
TARGET_CFLAGS_append = " -fno-tree-dce -fno-optimize-sibling-calls"
LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"
EXTRA_OECONF = " --without-tcl --without-qt --without-pam --without-valgrind"