From 47be081dc18f47e8b4955721c3db3812adf475d9 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Fri, 24 Mar 2006 18:14:00 +0000 Subject: Replacing arch specific make.conf files with patches for the fallback make.conf which should be applied in the ebuild. Add a helper script to update patches if the main make.conf is changed. svn path=/main/trunk/; revision=2987 --- cnf/make.conf.sparc.diff | 66 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 cnf/make.conf.sparc.diff (limited to 'cnf/make.conf.sparc.diff') diff --git a/cnf/make.conf.sparc.diff b/cnf/make.conf.sparc.diff new file mode 100644 index 000000000..68c442829 --- /dev/null +++ b/cnf/make.conf.sparc.diff @@ -0,0 +1,66 @@ +--- make.conf 2006-03-19 18:40:11.000000000 +0100 ++++ make.conf.sparc 2006-03-19 18:26:21.000000000 +0100 +@@ -23,6 +23,15 @@ + # Example: + #USE="X gtk gnome -alsa" + ++# Host Setting ++# ============ ++# This should be left to the default value of sparc-unknown-linux-gnu unless ++# you are absolutely certain of the consequences. In addition to potentially ++# destroying your system, you will recieve no support and your bugs will be ++# marked INVALID if you change this. ++# ++# CHOST="sparc-unknown-linux-gnu" ++ + # Host and optimization settings + # ============================== + # +@@ -33,10 +42,34 @@ + # package (and in some cases the libraries it uses) at default optimizations + # before reporting errors to developers. + # +-# Please refer to the GCC manual for a list of possible values. +-# +-#CFLAGS="-O2 -pipe" +-# ++# Sparc specific cpu optimizatiobn flags can be found here: ++# http://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/SPARC-Options.html#SPARC%20Options ++# ++# -mcpu= means optimize code for the particular type of CPU without ++# breaking compatibility with other CPUs. ++# ++# -mtune= set the instruction scheduling parameters for machine, but ++# do not set the instruction set or register set. ++# ++# Here is a list of each supported architecture and their supported ++# implementations: ++# ++# gcc-3.2 and higher: ++# v7: cypress ++# v8: supersparc, hypersparc ++# sparclite: f930, f934, sparclite86x ++# sparclet: tsc701 ++# v9: ultrasparc ++# ++# Additionally in gcc-3.3 and higher: ++# v9: ultrasparc3 ++# ++# Decent examples: ++# ++#CFLAGS="-mcpu=supersparc -O3 -pipe" ++#CFLAGS="-mcpu=ultrasparc -O3 -pipe" ++#CFLAGS="-mcpu=v8 -mtune=v9 -O2 -pipe" ++ + # If you set a CFLAGS above, then this line will set your default C++ flags to + # the same settings. + #CXXFLAGS="${CFLAGS}" +@@ -61,7 +94,7 @@ + # DO NOT PUT ANYTHING BUT YOUR SPECIFIC ~ARCHITECTURE IN THE LIST. + # IF YOU ARE UNSURE OF YOUR ARCH, OR THE IMPLICATIONS, DO NOT MODIFY THIS. + # +-#ACCEPT_KEYWORDS="~arch" ++#ACCEPT_KEYWORDS="~sparc" + + # Portage Directories + # =================== -- cgit v1.2.3-1-g7c22