Date: Sat, 12 Apr 2003 08:43:25 -0700 (PDT) From: Robert Drehmel <robert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 28821 for review Message-ID: <200304121543.h3CFhP3k014565@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28821 Change 28821 by robert@robert_spes on 2003/04/12 08:42:57 Compile this for TARGET_ARCH "mips". Even with -Werror ;-). Affected files ... .. //depot/projects/mips/lib/libstand/Makefile#4 edit Differences ... ==== //depot/projects/mips/lib/libstand/Makefile#4 (text+ko) ==== @@ -25,6 +25,11 @@ CFLAGS+= -msoft-float .endif +# XXX mips anything special needed? +.if ${MACHINE_ARCH} == "mips" +CFLAGS+= -Werror +.endif + # standalone components and stuff we have modified locally SRCS+= zutil.h __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \ globals.c pager.c printf.c strdup.c strerror.c strtol.c random.c \ @@ -35,12 +40,14 @@ # byte order functions from libc .PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/net +.if ${MACHINE_ARCH} != "mips" SRCS+= htons.S ntohs.S htonl.S ntohl.S +.endif # string functions from libc .PATH: ${.CURDIR}/../libc/string .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || \ - ${MACHINE_ARCH} == "sparc64" + ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "mips" SRCS+= bcmp.c bcopy.c bzero.c ffs.c index.c memccpy.c memchr.c memcmp.c \ memcpy.c memmove.c memset.c qdivrem.c rindex.c strcat.c strchr.c \ strcmp.c strcpy.c strcspn.c strlen.c strncat.c strncmp.c strncpy.c \ @@ -108,7 +115,9 @@ # _setjmp/_longjmp .PATH: ${.CURDIR}/${MACHINE_ARCH} +.if ${MACHINE_ARCH} != "mips" SRCS+= _setjmp.S +.endif # decompression functionality from libbz2 .PATH: ${.CURDIR}/../../contrib/bzip2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304121543.h3CFhP3k014565>