- fix build issue with gcc6
This commit is contained in:
parent
231d286d41
commit
8cf9135957
3
qt.spec
3
qt.spec
@ -640,6 +640,9 @@ done
|
||||
# drop -fexceptions from $RPM_OPT_FLAGS
|
||||
RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'`
|
||||
|
||||
# workaround for class std::auto_ptr' is deprecated with gcc-6
|
||||
CXXFLAGS="$CXXFLAGS -std=gnu++98 -Wno-deprecated"
|
||||
|
||||
export QTDIR=$PWD
|
||||
export PATH=$PWD/bin:$PATH
|
||||
export LD_LIBRARY_PATH=$PWD/lib/
|
||||
|
Loading…
Reference in New Issue
Block a user