diff --git a/ksh.changes b/ksh.changes index 098202c..c814fa6 100644 --- a/ksh.changes +++ b/ksh.changes @@ -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 diff --git a/ksh.spec b/ksh.spec index a7c2243..bec936f 100644 --- a/ksh.spec +++ b/ksh.spec @@ -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