* Add workaround for gcc-4.9.1 build failure

- wx bug 16359
This commit is contained in:
mycae 2014-09-28 10:33:28 -04:00
commit 78bad5ff23

View file

@ -55,7 +55,9 @@ useful for general scalar valued point data purposes.
%patch2
%build
%configure --disable-debug-checks --enable-openmp-parallel --enable-mgl2 --with-wx-config=wx-config-3.0
#Bug in gcc causes loss of wxCommandEvent::clone(). Reportedly fixed in gcc 4.9.2 - use CXXFLAGS to workaround
#http://trac.wxwidgets.org/ticket/16359
CXXFLAGS="${CXXFLAGS} -fno-devirtualize" %configure --disable-debug-checks --enable-openmp-parallel --enable-mgl2 --with-wx-config=wx-config-3.0
make %{?_smp_mflags}
%install