diff options
author | marcel <marcel@FreeBSD.org> | 2012-11-29 03:48:39 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2012-11-29 03:48:39 +0000 |
commit | 05d970344ac2fa67003d7232e956f2fc4afb5168 (patch) | |
tree | 18217198daf224d9903d60d7229a60a7f2b55c7a /sys/conf/Makefile.arm | |
parent | 6602edb8edc891a2d8434bf7ed74dc3b7d3c4f40 (diff) | |
download | FreeBSD-src-05d970344ac2fa67003d7232e956f2fc4afb5168.zip FreeBSD-src-05d970344ac2fa67003d7232e956f2fc4afb5168.tar.gz |
Fix LINT build for arm: NOTES defines LDFLAGS by way of a make option
but LDFLAGS is not (yet) passed on to the linker (via SYSTEM_LD et al).
Do so now. As such, any kernel configuration can now define linker
flags by setting LDFLAGS as normal and not have to revert to hacks
like setting DEBUG for flags that do not relate to debugging (see
sys/powerpc/conf/MPC85XX).
Diffstat (limited to 'sys/conf/Makefile.arm')
-rw-r--r-- | sys/conf/Makefile.arm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm index 19088ab..4145d60 100644 --- a/sys/conf/Makefile.arm +++ b/sys/conf/Makefile.arm @@ -43,7 +43,7 @@ STRIP_FLAGS = -S CFLAGS += -mno-apcs-frame .endif -SYSTEM_LD_ = ${LD} -Bdynamic -T ldscript.$M.noheader \ +SYSTEM_LD_ = ${LD} -Bdynamic -T ldscript.$M.noheader ${LDFLAGS} \ -warn-common -export-dynamic -dynamic-linker /red/herring -o \ ${FULLKERNEL}.noheader -X ${SYSTEM_OBJS} vers.o SYSTEM_LD_TAIL +=;sed s/" + SIZEOF_HEADERS"// ldscript.$M\ |