From 7aa486fe6bac2a471b92c3c4aef1ba5c214f06df Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Sat, 11 Jul 2009 08:48:29 -0500 Subject: Fix multiboot.bin build on mingw32 This combination of ld/object was suggested by Bartlomiej Celary Signed-off-by: Anthony Liguori --- configure | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure') diff --git a/configure b/configure index a55dbc5..cba0c08 100755 --- a/configure +++ b/configure @@ -34,6 +34,8 @@ ar="ar" make="make" install="install" strip="strip" +objcopy="objcopy" +ld="ld" # parse CC options first for opt do @@ -53,6 +55,8 @@ done cc="${cross_prefix}${cc}" ar="${cross_prefix}${ar}" strip="${cross_prefix}${strip}" +objcopy="${cross_prefix}${objcopy}" +ld="${cross_prefix}${ld}" # check that the C compiler works. cat > $TMPC <> $config_mak echo "CC=$cc" >> $config_mak echo "HOST_CC=$host_cc" >> $config_mak echo "AR=$ar" >> $config_mak +echo "OBJCOPY=$objcopy" >> $config_mak +echo "LD=$ld" >> $config_mak # XXX: only use CFLAGS and LDFLAGS ? # XXX: should export HOST_CFLAGS and HOST_LDFLAGS for cross # compilation of dyngen tool (useful for win32 build on Linux host) -- cgit v1.1