From: John Marino Date: Fri, 24 Feb 2012 17:50:25 +0000 (+0100) Subject: build: Add WORLD_LDVER (similar to WORLD_CCVER) X-Git-Tag: v3.2.0~1324 X-Git-Url: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/0756733f67cbef259d331df31f25253f03ab873f build: Add WORLD_LDVER (similar to WORLD_CCVER) This enables building world and kernel with the gold linker, and the result is finally fully bootable and functional. --- diff --git a/Makefile.inc1 b/Makefile.inc1 index dea0edf..244a078 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -118,8 +118,9 @@ DESTDIRBASE?= ${OBJTREE}${.CURDIR} # anyhow, and we need to be able to override it for stage installs .MAKEFLAGS:= ${.MAKEFLAGS:NDESTDIR=*} -# This sets the compiler we use to build the world/kernel with -WORLD_CCVER?= gcc44 +# This section sets the tools used to build the world/kernel +WORLD_CCVER?= gcc44 +WORLD_LDVER?= ld.bfd WORLD_BINUTILSVER?= binutils222 # temporary until everybody has converted to x86_64 @@ -287,6 +288,7 @@ CROSSENV= MAKEOBJDIRPREFIX=${WORLDDEST} \ OBJFORMAT_PATH=${CTOOLSDEST} \ HOST_CCVER=${HOST_CCVER} \ CCVER=${WORLD_CCVER} \ + LDVER=${WORLD_LDVER} \ BINUTILSVER=${WORLD_BINUTILSVER} WMAKEENV= ${CROSSENV} \