Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
libhugetlbfs
libhugetlbfs-ppc64le.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libhugetlbfs-ppc64le.patch of Package libhugetlbfs
Add ppc64le support Signed-off-by: Anton Blanchard <anton@samba.org> --- Index: libhugetlbfs-2.17/Makefile =================================================================== --- libhugetlbfs-2.17.orig/Makefile +++ libhugetlbfs-2.17/Makefile @@ -46,6 +46,11 @@ ifneq ($(BUILDTYPE),NATIVEONLY) CC32 = $(CC) -m32 ELF32 = elf32ppclinux endif +else +ifeq ($(ARCH),ppc64le) +CC64 = $(CC) -m64 +ELF64 = elf64lppc +TMPLIB64 = lib64 else ifeq ($(ARCH),powerpc) CC32 = $(CC) -m32 @@ -106,6 +110,7 @@ $(error "Unrecognized architecture ($(AR endif endif endif +endif endif endif endif --- libhugetlbfs-2.17.orig/contrib/tlbmiss_cost.sh +++ libhugetlbfs-2.17/contrib/tlbmiss_cost.sh @@ -44,7 +44,7 @@ cpumhz() { FNAME="cpu MHz" FINDEX=4 case "`uname -m`" in - ppc64) + ppc64|ppc64le) FNAME="clock" FINDEX=3 ;;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor