LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File shellinabox-ia64-ppc-s390.patch of Package shellinabox (Project openSUSE:Factory)

Compile support for IA64, PowerPC and S390 architectures

diff --git a/Makefile.am b/Makefile.am
index b4b86d6..30e490e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -108,6 +108,11 @@ objcopyflags         = case "$(host_cpu)" in                                  \
                          i[0-9]86) echo '-O elf32-i386 -B i386';;             \
                          x86_64)   echo '-O elf64-x86-64 -B i386:x86-64';;    \
                          arm*)     echo '-O elf32-littlearm -B arm';;         \
+			 powerpc)  echo '-O elf32-powerpc -B powerpc';;       \
+			 powerpc*) echo '-O elf64-powerpc -B powerpc';;       \
+			 ia64)     echo '-O elf64-ia64-little -B ia64';;      \
+			 s390)     echo '-O elf32-s390 -B s390';;             \
+			 s390x)    echo '-O elf64-s390 -B s390';;             \
                        esac
 
 renamesymbols        =                                                        \
diff --git a/Makefile.in b/Makefile.in
index f20b28e..9dff404 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -372,6 +372,11 @@ objcopyflags = case "$(host_cpu)" in                                  \
                          i[0-9]86) echo '-O elf32-i386 -B i386';;             \
                          x86_64)   echo '-O elf64-x86-64 -B i386:x86-64';;    \
                          arm*)     echo '-O elf32-littlearm -B arm';;         \
+			 powerpc)  echo '-O elf32-powerpc -B powerpc';;       \
+			 powerpc*) echo '-O elf64-powerpc -B powerpc';;       \
+			 ia64)     echo '-O elf64-ia64-little -B ia64';;      \
+			 s390)     echo '-O elf32-s390 -B s390';;             \
+			 s390x)    echo '-O elf64-s390 -B s390';;             \
                        esac
 
 renamesymbols = \