On Thu, 25 Jul 2013, Dan Horák wrote: > Distributions usually build their packages natively in pure 32-bit or 64-bit > environments.
They might, but this library is built by people other than package managers. If you would like the ability to build only native packages, have a look at how ppc64 and x86_64 use NATIVEONLY. Also, I can't merge this without a Signed-off-by: Eric > > patch by Anton Arapov (Red Hat) > --- > Makefile | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff --git a/Makefile b/Makefile > index 48205af..afb1495 100644 > --- a/Makefile > +++ b/Makefile > @@ -84,12 +84,20 @@ CFLAGS += -DNO_ELFLINK > else > ifeq ($(ARCH),s390x) > CC64 = gcc -m64 > -CC32 = gcc -m31 > -ELF32 = elf_s390 > ELF64 = elf64_s390 > TMPLIB64 = lib64 > TMPLIB32 = lib > CUSTOM_LDSCRIPTS = no > +ifneq ($(BUILDTYPE),NATIVEONLY) > +CC32 = gcc -m31 > +ELF32 = elf_s390 > +endif > +else > +ifeq ($(ARCH),s390) > +CC32 = gcc -m31 > +ELF32 = elf_s390 > +TMPLIB32 = lib > +CUSTOM_LDSCRIPTS = no > else > $(error "Unrecognized architecture ($(ARCH))") > endif > @@ -100,6 +108,7 @@ endif > endif > endif > endif > +endif > > ifdef CC32 > OBJDIRS += obj32 > -- > 1.8.1.4 > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Libhugetlbfs-devel mailing list > Libhugetlbfs-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel