[PATCH] Add geode RPM macros

Bernardo Innocenti bernie at codewiz.org
Mon Dec 10 18:57:50 EST 2007


Signed-off-by: Bernardo Innocenti <bernie at codewiz.org>
---
 pilgrim |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/pilgrim b/pilgrim
index 3cdb4c2..90fc1bc 100755
--- a/pilgrim
+++ b/pilgrim
@@ -544,6 +544,13 @@ if [ "$SKIP_INSTALL" = "0" ] ; then
     mkdir -p /etc/rpm
     cat <<EOF > /etc/rpm/macros.pilgrim
 %_install_langs $LOCALES
+%_arch geode
+%ix86   i386 i486 i586 i686 pentium3 pentium4 athlon geode
+optflags: geode -O2 -g -m32 -march=geode
+arch_canon:  geode:  geode   1
+buildarchtranslate: geode: i386
+arch_compat: geode: i586
+buildarch_compat: geode: i586
 EOF
     if [ "$EXCLUDE_DOCS" != "0" ] ; then
 	cat <<EOF >> /etc/rpm/macros.pilgrim
-- 
1.5.3.7.1149.g591a




More information about the Devel mailing list