[Lunar-commits] r14584 - lunar/trunk/var/lib/lunar/functions
Auke Kok
sofar at lunar-linux.org
Wed May 4 20:58:19 UTC 2005
Author: sofar
Date: 2005-05-04 20:58:16 +0000 (Wed, 04 May 2005)
New Revision: 14584
Modified:
lunar/trunk/var/lib/lunar/functions/optimize.lunar
Log:
Fixed missing Blocks) case entry and cleaned up some utterly useless code.
Modified: lunar/trunk/var/lib/lunar/functions/optimize.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/optimize.lunar 2005-05-04 12:12:05 UTC (rev 14583)
+++ lunar/trunk/var/lib/lunar/functions/optimize.lunar 2005-05-04 20:58:16 UTC (rev 14584)
@@ -486,101 +486,69 @@
Pointers) if [[ $GCCVER == "3" ]] ; then
CFLAGS="$CFLAGS -fomit-frame-pointer"
CXXFLAGS="$CXXFLAGS -fomit-frame-pointer"
- else
- CFLAGS="$CFLAGS"
- CXXFLAGS="$CXXFLAGS"
fi
;;
Siblings) if [[ $GCCVER == "3" ]] ; then
CFLAGS="$CFLAGS -foptimize-sibling-calls"
CXXFLAGS="$CXXFLAGS"
- else
- CFLAGS="$CFLAGS"
- CXXFLAGS="$CXXFLAGS"
fi
;;
Profiling) if [[ $GCCVER == "3" ]] ; then
CFLAGS="$CFLAGS -fprofile-arcs"
CXXFLAGS="$CXXFLAGS -fprofile-arcs"
set_local_config "KEEP_SOURCE" "on"
- else
- CFLAGS="$CFLAGS"
- CXXFLAGS="$CXXFLAGS"
fi
;;
Branching) if [[ $GCCVER == "3" ]] ; then
CFLAGS="$CFLAGS -fbranch-probabilities"
CXXFLAGS="$CXXFLAGS -fbranch-probabilities"
- else
- CFLAGS="$CFLAGS"
- CXXFLAGS="$CXXFLAGS"
fi
;;
Aliasing) if [[ $GCCVER == "3" ]] ; then
CFLAGS="$CFLAGS -fstrict-aliasing"
CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
- else
- CFLAGS="$CFLAGS"
- CXXFLAGS="$CXXFLAGS"
fi
;;
Cprop) if [[ $GCCVER == "3" ]] ; then
CFLAGS="$CFLAGS -fno-cprop-registers"
CXXFLAGS="$CXXFLAGS -fno-cprop-registers"
- else
- CFLAGS="$CFLAGS"
- CXXFLAGS="$CXXFLAGS"
fi
;;
Float) if [[ $GCCVER == "3" ]] ; then
CFLAGS="$CFLAGS -ffloat-store"
CXXFLAGS="$CXXFLAGS -ffloat-store"
- else
- CFLAGS="$CFLAGS"
- CXXFLAGS="$CXXFLAGS"
fi
;;
Address) if [[ $GCCVER == "3" ]] ; then
CFLAGS="$CFLAGS -fforce-addr"
CXXFLAGS="$CXXFLAGS -fforce-addr"
- else
- CFLAGS="$CFLAGS"
- CXXFLAGS="$CXXFLAGS"
fi
;;
Align) if [[ $GCCVER == "3" ]] ; then
CFLAGS="$CFLAGS -falign-functions -falign-loops -falign-jumps"
CXXFLAGS="$CXXFLAGS -falign-functions -falign-loops -falign-jumps"
- else
- CFLAGS="$CFLAGS"
- CXXFLAGS="$CXXFLAGS"
fi
;;
Expensive) if [[ $GCCVER == "3" ]] ; then
CFLAGS="$CFLAGS -fexpensive-optimizations"
CXXFLAGS="$CXXFLAGS -fexpensive-optimizations"
- else
- CFLAGS="$CFLAGS"
- CXXFLAGS="$CXXFLAGS"
fi
;;
Doubles) if [[ $GCCVER == "3" ]] ; then
CFLAGS="$CFLAGS -malign-double"
CXXFLAGS="$CXXFLAGS -malign-double"
- else
- CFLAGS="$CFLAGS"
- CXXFLAGS="$CXXFLAGS"
fi
;;
Tracer) if [[ $GCCVER == "3" ]] ; then
CFLAGS="$CFLAGS -ftracer"
CXXFLAGS="$CXXFLAGS -ftracer"
- else
- CFLAGS="$CFLAGS"
- CXXFLAGS="$CXXFLAGS"
fi
;;
-
+ Blocks) if [[ $GCCVER == "3" ]] ; then
+ CFLAGS="$CFLAGS -freorder-blocks"
+ CXXFLAGS="$CXXFLAGS -freorder-blocks"
+ fi
+ ;;
esac
done
}
More information about the Lunar-commits
mailing list