diff options
author | deischen <deischen@FreeBSD.org> | 2003-04-23 21:48:29 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2003-04-23 21:48:29 +0000 |
commit | 4dac1223a3071f15b9a191b6b056289d9d93b54e (patch) | |
tree | 308f938e83842a237f8d2d68ed423179ac5d78ac /lib | |
parent | f8027ceb95ebbec411424424e7be00f63485adb8 (diff) | |
download | FreeBSD-src-4dac1223a3071f15b9a191b6b056289d9d93b54e.zip FreeBSD-src-4dac1223a3071f15b9a191b6b056289d9d93b54e.tar.gz |
Remove the i386-specific hack (well, we only run on i386 anyways)
to always set %gs when resuming a thread.
Install this library as libpthread instead of libkse.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkse/Makefile | 8 | ||||
-rw-r--r-- | lib/libpthread/Makefile | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile index d4b88ca..beb105e 100644 --- a/lib/libkse/Makefile +++ b/lib/libkse/Makefile @@ -7,7 +7,7 @@ # To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS # (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the # system call stubs. -LIB=kse +LIB=pthread SHLIB_MAJOR= 1 CFLAGS+=-DPTHREAD_KERNEL CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ @@ -20,9 +20,9 @@ CFLAGS+=-I${.CURDIR}/sys CFLAGS+=-D_LOCK_DEBUG #CFLAGS+= -g -.if ${MACHINE_ARCH} == "i386" -CFLAGS+=-DGS_HACK -.endif +#.if ${MACHINE_ARCH} == "i386" +#CFLAGS+=-DGS_HACK +#.endif # enable extra internal consistancy checks CFLAGS+=-D_PTHREADS_INVARIANTS -Wall diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile index d4b88ca..beb105e 100644 --- a/lib/libpthread/Makefile +++ b/lib/libpthread/Makefile @@ -7,7 +7,7 @@ # To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS # (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the # system call stubs. -LIB=kse +LIB=pthread SHLIB_MAJOR= 1 CFLAGS+=-DPTHREAD_KERNEL CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ @@ -20,9 +20,9 @@ CFLAGS+=-I${.CURDIR}/sys CFLAGS+=-D_LOCK_DEBUG #CFLAGS+= -g -.if ${MACHINE_ARCH} == "i386" -CFLAGS+=-DGS_HACK -.endif +#.if ${MACHINE_ARCH} == "i386" +#CFLAGS+=-DGS_HACK +#.endif # enable extra internal consistancy checks CFLAGS+=-D_PTHREADS_INVARIANTS -Wall |