summaryrefslogtreecommitdiff
path: root/libxml.spec.in
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-03-10 09:22:07 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-03-10 09:22:07 +0000
commitc0c6ce29187750f736ba26e7182bdc93fd617bcc (patch)
treed08295418947adc65c9cfe21a8d7e147400acb45 /libxml.spec.in
parent7f3efa9756e26f98876c54b7f7c5fc1093af6a2d (diff)
downloadlibxml2-c0c6ce29187750f736ba26e7182bdc93fd617bcc.tar.gz
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
Diffstat (limited to 'libxml.spec.in')
-rw-r--r--libxml.spec.in13
1 files changed, 1 insertions, 12 deletions
diff --git a/libxml.spec.in b/libxml.spec.in
index f9823df4..b4f37616 100644
--- a/libxml.spec.in
+++ b/libxml.spec.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