Date: Sat, 21 Apr 2012 16:02:00 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r234546 - head/gnu/lib/libgcc Message-ID: <201204211602.q3LG20r7094895@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Sat Apr 21 16:02:00 2012 New Revision: 234546 URL: http://svn.freebsd.org/changeset/base/234546 Log: Replace a bare use of nm with ${NM} for easier cross compilation in environments where nm is spelled differently. Modified: head/gnu/lib/libgcc/Makefile Modified: head/gnu/lib/libgcc/Makefile ============================================================================== --- head/gnu/lib/libgcc/Makefile Sat Apr 21 15:37:38 2012 (r234545) +++ head/gnu/lib/libgcc/Makefile Sat Apr 21 16:02:00 2012 (r234546) @@ -276,7 +276,7 @@ ${ASM_S}: ${LIB1ASMSRC} ${ASM_V}: ${LIB1ASMSRC} ${CC} -x assembler-with-cpp -c ${CFLAGS} -DL${.PREFIX} \ -o ${.PREFIX}.vo ${.ALLSRC:N*.h} - ( nm -pg ${.PREFIX}.vo | \ + ( ${NM} -pg ${.PREFIX}.vo | \ awk 'NF == 3 && $$2 !~ /^[UN]$$/ { print "\t.hidden ", $$3 }'\ ) > ${.TARGET} @@ -325,7 +325,7 @@ SHLIB_MAPFILES = ${GCCDIR}/libgcc-std. VERSION_MAP = libgcc.map libgcc.map: ${SHLIB_MKMAP} ${SHLIB_MAPFILES} ${SOBJS} ${OBJS:R:S/$/.So/} - ( nm -pg ${SOBJS};echo %% ; \ + ( ${NM} -pg ${SOBJS};echo %% ; \ cat ${SHLIB_MAPFILES} \ | sed -e '/^[ ]*#/d' \ -e 's/^%\(if\|else\|elif\|endif\|define\)/#\1/' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204211602.q3LG20r7094895>