diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2015-08-14 22:54:52 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2015-08-14 22:54:52 +0000 |
commit | 2c035421f750b66572ec76e85842653095333e2d (patch) | |
tree | da9eb12aa8599fe5229b3c01c1696ba18b7c2b35 /share/mk/sys.mk | |
parent | 6ee70894f043b42c41f8335e2106a951a38bd4ae (diff) | |
download | FreeBSD-src-2c035421f750b66572ec76e85842653095333e2d.zip FreeBSD-src-2c035421f750b66572ec76e85842653095333e2d.tar.gz |
Introduce a new make variable: NMFLAGS.
As the name indicates, these are flags to pass to nm(1). The newer
binutils have a plugin mechanism so, to build something with LLVM's
LTO, we need to pass flags to nm(1). This commit also extends
lorder(1) to pass NMFLAGS to nm(1).
Diffstat (limited to 'share/mk/sys.mk')
-rw-r--r-- | share/mk/sys.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk index d23d1d7..99e0337 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -167,6 +167,7 @@ MAKE ?= make .if !defined(%POSIX) NM ?= nm +NMFLAGS ?= OBJC ?= cc OBJCFLAGS ?= ${OBJCINCLUDES} ${CFLAGS} -Wno-import |