[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#813649 closed by Alastair McKinstry <mckinstry@debian.org> (Bug#813649: fixed in emoslib 2:4.3.7-1)



Control: tags -1 patch

On 02/06/2016 10:29 PM, John Paul Adrian Glaubitz wrote:
> Back to the drawing board.

-fPIC was necessary as well:

--- debian/rules.old	2016-02-03 20:20:51.000000000 +0100
+++ debian/rules	2016-02-07 11:23:58.000000000 +0100
@@ -24,7 +24,7 @@
   LITTLE:= true
 endif

-FPIC_LIST:= "s390x amd64 ppc64el m68k"
+FPIC_LIST:= "s390x amd64 ppc64el m68k sparc64"
 ifneq (,$(findstring $(ARCH),$(FPIC_LIST)))
   FPIC:= -fPIC
 else
@@ -38,7 +38,7 @@
   MCMODEL_FLAGS:= -mcmodel=medium
 endif
 ifeq ($(ARCH), sparc64)
-  MCMODEL_FLAGS:= -mcmodel=large
+  MCMODEL_FLAGS:= -mcmodel=medany
 endif
 ifeq ($(ARCH), ppc64el)
   MCMODEL_FLAGS:= -mcmodel=large

Builds fine after applying this patch. About to upload the
package to "unreleased", with a +sparc64 suffix in the version.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: