Skip to content

Commit

Permalink
debian: Fix cross build.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ed Swierk authored and blp committed Aug 26, 2014
1 parent 7f99cf1 commit 8b8107c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/rules
Expand Up @@ -45,7 +45,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

Expand Down

0 comments on commit 8b8107c

Please sign in to comment.