Source: nas
Version: 1.9.4-6
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

Hi,

nas fails to cross build because it does not pass cross build tools to make. Using "dh_auto_build" instead of "$(MAKE)" can solve this problem.

--
================================================================
Do Thanh Trung (Mr.)
Toshiba Software Development (Vietnam) Co.,Ltd
13th Floor, VIT Building, 519 Kim Ma street, Ba Dinh District, Hanoi, Vietnam
Tel: (84-4) 22 20 88 01 (ext: 207)
================================================================

Note: This e-mail message may contain personal information or confidential information. If you are not the addressee of this message, please delete this message and kindly notify the sender as soon as possible, do not copy, use, or disclose this message.
diff -Nru nas-1.9.4/debian/rules nas-1.9.4/debian/rules
--- nas-1.9.4/debian/rules      2014-11-11 01:09:37.000000000 +0700
+++ nas-1.9.4/debian/rules      2017-08-03 04:29:44.000000000 +0700
@@ -12,7 +12,7 @@
        xmkmf -a
 
 override_dh_auto_build:
-       $(MAKE) EXTRA_LDOPTIONS="$$LDFLAGS" \
+       dh_auto_build -- EXTRA_LDOPTIONS="$$LDFLAGS" \
                CCOPTIONS="$$CFLAGS $$CPPFLAGS" \
                LDFLAGS_DEF="$$LDFLAGS"
 
-- 
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com

Reply via email to