Package: jmeters
Version: 0.2.1-1
Severity: serious
Tags: patch

The new version of jmeters builds using -march=native. Using -march=native chooses the target CPU based on the CPU of the build machine and as such is completely unsuitable for building packages for distribution by debian. Furthermore many architectures simply don't recognise the option at all causing jmeters to FTBFS on them.

Patch is attatched just fill in the bug number and add it to the quilt series.
Description: Remove -march=native
 Using -march=native chooses the target CPU based on the CPU of the build 
 machine and as such is completely unsuitable for building packages for 
 distribution by debian. Furthermore many architectures simply don't recognise
 the option at all so using it causes FTBFS on them.
Author: Peter Michael Green <plugw...@p10link.net>
Bug-Debian: http://bugs.debian.org/?????????

--- jmeters-0.2.1.orig/source/Makefile
+++ jmeters-0.2.1/source/Makefile
@@ -24,7 +24,6 @@ VERSION = 0.2.1
 DISTDIR = jmeters-$(VERSION)
 CPPFLAGS += -DPROGRAM=\"$(PROGRAM)\" -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\"
 CXXFLAGS += -O3 -Wall -MMD -MP
-CXXFLAGS += -march=native
 
 
 all:	jmeters

Reply via email to