mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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:
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"
|
||||
|
||||
Reference in New Issue
Block a user