Skip to content

Commit

Permalink
Add --with-sysroot option to binutils
Browse files Browse the repository at this point in the history
  • Loading branch information
snacsnoc committed Mar 10, 2016
1 parent d16d3b8 commit b305376
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ binutils:
cd binutils/ ; \
LDFLAGS="-Wl,-static" \
CFLAGS="-D_GNU_SOURCE -D_LARGEFILE64_SOURCE -static -s" \
./configure --target=i486-musl-linux --host=i486-musl-linux --disable-shared --disable-multilib --disable-nls --prefix=/usr ; \
./configure --target=i486-musl-linux --host=i486-musl-linux --disable-shared --disable-multilib --disable-nls --prefix=/usr --with-sysroot=/ ; \
$(MAKE) -j$(MAKEFLAGS) ; \

syslinux:
Expand Down Expand Up @@ -107,4 +107,4 @@ syslinux-install:
mkdir -p boot/isolinux
cd syslinux/ ; \
cp core/isolinux.bin ../boot/isolinux ; \
cp com32/elflink/ldlinux/ldlinux.c32 ../boot/isolinux
cp com32/elflink/ldlinux/ldlinux.c32 ../boot/isolinux

0 comments on commit b305376

Please sign in to comment.