Another attempts at compiling with gcc4, Daniel
This commit is contained in:
parent
3a3560212b
commit
24fa5fb828
15
libxml2.spec
15
libxml2.spec
@ -1,7 +1,7 @@
|
||||
Summary: Library providing XML and HTML support
|
||||
Name: libxml2
|
||||
Version: 2.6.17
|
||||
Release: 4
|
||||
Release: 5
|
||||
License: MIT
|
||||
Group: Development/Libraries
|
||||
Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz
|
||||
@ -67,22 +67,11 @@ at parse time or later once the document has been modified.
|
||||
# initial test spec. This really doesn't work okay for most tests done.
|
||||
#
|
||||
GCC_VERSION=`gcc --version | grep "^gcc" | awk '{ print $3 }' | sed 's+\([0-9]\)\.\([0-9]\)\..*+\1\2+'`
|
||||
#if [ $GCC_VERSION -eq 32 ]
|
||||
#then
|
||||
# PROF_GEN='-fprofile-arcs'
|
||||
# PROF_USE='-fbranch-probabilities'
|
||||
#else if [ $GCC_VERSION -eq 33 ]
|
||||
#then
|
||||
# PROF_GEN='-fprofile-arcs'
|
||||
# PROF_USE='-fbranch-probabilities -ftracer'
|
||||
#else
|
||||
if [ $GCC_VERSION -ge 34 ]
|
||||
if [ $GCC_VERSION -eq 34 ]
|
||||
then
|
||||
PROF_GEN='-fprofile-generate'
|
||||
PROF_USE='-fprofile-use'
|
||||
fi
|
||||
#fi
|
||||
#fi
|
||||
|
||||
if [ "$PROF_GEN" != "" ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user