Accepting request 209882 from shells

Please forward to factory
- Recognize ppc64le (setting HOSTTYPE to powerpc64le) (forwarded request 209697 from matz2)

OBS-URL: https://build.opensuse.org/request/show/209882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=100
This commit is contained in:
Stephan Kulow 2013-12-11 10:28:39 +00:00 committed by Git OBS Bridge
commit 5f3c430bbc
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 6 21:13:42 UTC 2013 - matz@suse.de
- Recognize ppc64le (setting HOSTTYPE to powerpc64le)
-------------------------------------------------------------------
Fri Nov 29 15:45:44 UTC 2013 - werner@suse.de

View File

@ -392,6 +392,13 @@ fi
_PACKAGE_HOSTTYPE_=linux.powerpc
export _PACKAGE_HOSTTYPE_
;;
ppc64le|powerpc64le)
RPM_OPT_FLAGS="${RPM_OPT_FLAGS//-O[s0-9]/-O}"
# -mpowerpc64 is correct, the compiler defaults to
# little endian anyway
cflags -mpowerpc64 RPM_OPT_FLAGS
HOSTTYPE=linux.powerpc64le
;;
ppc64|powerpc64)
RPM_OPT_FLAGS="${RPM_OPT_FLAGS//-O[s0-9]/-O}"
cflags -mpowerpc64 RPM_OPT_FLAGS