mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
some gcc4 portability patches, including a serious aliasing bug exposed in
* include/libxml/hash.h libxml.h libxml.spec.in: some gcc4 portability patches, including a serious aliasing bug exposed in s390 when trying to convert data pointer to code pointer. Daniel
This commit is contained in:
@@ -65,22 +65,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
|
||||
|
Reference in New Issue
Block a user