diff options
author | Ed Swierk <eswierk@skyportsystems.com> | 2014-08-24 10:37:29 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2014-08-26 11:43:42 -0700 |
commit | e3b0e3fcd27a7a8a982ed0d05d6204f2688f0d11 (patch) | |
tree | e4fc28e06e9684b01de19b174f5e44961a77c96c /debian | |
parent | 16bea12c9225f161d793130ef36084799fada592 (diff) | |
download | openvswitch-e3b0e3fcd27a7a8a982ed0d05d6204f2688f0d11.tar.gz |
debian: Fix cross build.
Cross-building openvswitch with debuild -aARCH (or equivalent) fails
because the target architecture is not getting passed to configure.
Thus binaries like ovs-appctl get built using the build host
architecture.
Signed-off-by: Ed Swierk <eswierk@skyportsystems.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index d9a928794..a5dccac41 100755 --- a/debian/rules +++ b/debian/rules @@ -52,7 +52,7 @@ configure-stamp: cd _debian && ( \ test -e Makefile || \ ../configure --prefix=/usr --localstatedir=/var --enable-ssl \ - --sysconfdir=/etc CFLAGS="$(CFLAGS)" \ + --sysconfdir=/etc --host=$(DEB_HOST_GNU_TYPE) CFLAGS="$(CFLAGS)" \ $(buildflags) $(DATAPATH_CONFIGURE_OPTS)) touch configure-stamp |