Date: Tue, 29 Aug 2006 13:54:29 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 105265 for review Message-ID: <200608291354.k7TDsToS003781@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105265 Change 105265 by gonzo@gonzo_hq on 2006/08/29 13:53:30 o In order to build target with required endianess make libthr/libpthread use system-wide LDFLAGS for linking. Affected files ... .. //depot/projects/mips2/src/lib/libpthread/support/Makefile.inc#2 edit .. //depot/projects/mips2/src/lib/libthr/Makefile#2 edit .. //depot/projects/mips2/src/lib/libthr/support/Makefile.inc#2 edit Differences ... ==== //depot/projects/mips2/src/lib/libpthread/support/Makefile.inc#2 (text+ko) ==== @@ -36,5 +36,5 @@ CLEANFILES+= ${SYSCALL_SRC} ${SYSCALL_OBJ} ${LIBC_OBJS} thr_libc.So: ${SYSCALL_OBJ} ${LIBC_OBJS} - ${CC} -fPIC -nostdlib -o ${.TARGET} -r ${.ALLSRC} + ${CC} ${LDFLAGS} -fPIC -nostdlib -o ${.TARGET} -r ${.ALLSRC} ==== //depot/projects/mips2/src/lib/libthr/Makefile#2 (text+ko) ==== @@ -28,7 +28,7 @@ # CFLAGS+=-DSYSTEM_SCOPE_ONLY -LDFLAGS= -Wl,--version-script=${.CURDIR}/pthread.map +LDFLAGS+= -Wl,--version-script=${.CURDIR}/pthread.map MAN= libthr.3 ==== //depot/projects/mips2/src/lib/libthr/support/Makefile.inc#2 (text+ko) ==== @@ -19,4 +19,4 @@ CLEANFILES+= ${SYSCALL_SRC} ${SYSCALL_OBJ} ${LIBC_OBJS} thr_libc.So: ${SYSCALL_OBJ} ${LIBC_OBJS} - ${CC} -fPIC -nostdlib -o ${.TARGET} -r ${.ALLSRC} + ${CC} ${LDFLAGS} -fPIC -nostdlib -o ${.TARGET} -r ${.ALLSRC}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608291354.k7TDsToS003781>