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 <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
Ed Swierk authored and blp committed Aug 26, 2014
1 parent 16bea12 commit e3b0e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e3b0e3f

Please sign in to comment.