force m32

This commit is contained in:
Mario Fetka 2017-04-22 16:58:36 +02:00
parent 8fae4f9e81
commit 43e942c2b5
2 changed files with 10 additions and 1 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
megactl (0.4.1-6.1) UNRELEASED; urgency=medium
* Non-maintainer upload.
* megatrace in own package
-- Mario Fetka <mario.fetka@gmail.com> Sat, 22 Apr 2017 16:52:02 +0200
megactl (0.4.1-6) unstable; urgency=medium
* Update 003-Fix_disk_enumeration_loop patch (fix issues with PERC6e).

4
debian/rules vendored
View File

@ -16,15 +16,17 @@ endif
ifeq ($(ARCH),i386)
MY_MAKEOPTS="ARCH=-m32"
MT_MAKEOPTS="ARCH=-m32"
else
MY_MAKEOPTS="ARCH=-m64"
MT_MAKEOPTS="ARCH=-m32"
endif
# $(MAKE) CFLAGS="$(CFLAGS) \$$(INC) \$$(ARCH)" -C src/
build: build-stamp
build-stamp: patch-stamp
dh_testdir
$(MAKE) CFLAGS="$(CFLAGS) \$$(INC) \$$(ARCH)" -C src/ megatrace
$(MAKE) $(MT_MAKEOPTS) CFLAGS="$(CFLAGS) \$$(INC) \$$(ARCH)" -C src/ megatrace
mv src/megatrace src/megatrace.i386
$(MAKE) clean -C src/
$(MAKE) $(MY_MAKEOPTS) CFLAGS="$(CFLAGS) \$$(INC) \$$(ARCH)" -C src/