wxwidgets: adding gnu++11 compile flags (resolves #333)
This commit is contained in:
parent
656a83cd02
commit
995a20e6fc
|
@ -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"
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue