tag 319205 +patch
thanks

Hi,

* Matthias Klose [2005-07-20]:
> > Did you check whether it will build on m68k with GCC 4, optimization -02? 
> 
> no, I remember someone saying that this would help. Adam Conrad? or
> somebody else from the 68k list?

I checked today, it built fine in the sid chroot on crest. Patch
attached.

Cheers,

Laurent.
diff -u gmp-4.1.4/debian/changelog gmp-4.1.4/debian/changelog
--- gmp-4.1.4/debian/changelog
+++ gmp-4.1.4/debian/changelog
@@ -1,3 +1,10 @@
+gmp (4.1.4-8.1) unstable; urgency=low
+
+  * NMU.
+  * Build with -O2 on m68k (closes: #319205).
+
+ -- Laurent Fousse <[EMAIL PROTECTED]>  Tue,  2 Aug 2005 09:51:26 +0200
+
 gmp (4.1.4-8) unstable; urgency=low
 
   * Re-release to fix i386 build.  The -7.1 upload was built
diff -u gmp-4.1.4/debian/rules gmp-4.1.4/debian/rules
--- gmp-4.1.4/debian/rules
+++ gmp-4.1.4/debian/rules
@@ -27,7 +27,11 @@
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 CFLAGS += -O0
 else
-CFLAGS += -O3
+    ifeq (m68k,$(DEB_HOST_ARCH))
+       CFLAGS += -O2
+    else
+       CFLAGS += -O3
+    endif
 endif
 
 build: build-stamp

Attachment: signature.asc
Description: Digital signature

Reply via email to