* Add workaround for gcc-4.9.1 build failure
- wx bug 16359
This commit is contained in:
parent
d5a4f42c74
commit
78bad5ff23
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue