wxwidgets: adding gnu++11 compile flags (resolves #333)

This commit is contained in:
Kristof Robot 2015-07-24 16:32:55 +02:00
parent 656a83cd02
commit 995a20e6fc
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ S = "${WORKDIR}/wxPython-src-${PV}/wxPython"
inherit pkgconfig pythonnative python-dir distutils
CFLAGS += "-I${STAGING_INCDIR}/wx-2.9/ -I${STAGING_LIBDIR}/wx/include/${TARGET_PREFIX}gtk2-unicode-2.9/"
CFLAGS += "-std=gnu++11"
# Enable output on stdout for buildpaths
export WXDEBUG = "findprogress"

View File

@ -25,6 +25,7 @@ EXTRA_OECONF = " --with-opengl \
"
CXXFLAGS := "${@oe_filter_out('-fvisibility-inlines-hidden', '${CXXFLAGS}', d)}"
CXXFLAGS += "-std=gnu++11"
# Broken autotools :/
do_configure() {