Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2005-01-17 | Rework code to more easily allow listing other platform that, like NetBSD, | jlam | 1 | -2/+3 | |
use GCC and can accept -pthread. Add DragonFly(BSD) to this list (from PR pkg/28964). | |||||
2004-12-09 | From inspecting configure scripts, it seems FreeBSD wants "-D_THREAD_SAFE" | jlam | 1 | -1/+4 | |
as part of the CPPFLAGS when building threaded apps. | |||||
2004-11-28 | Reverse the tests so that we actually check for the existence and not | jlam | 1 | -6/+6 | |
the non-existence of the library -- this more accurately reflects what we want to say. | |||||
2004-11-26 | Don't append BUILDLINK_CFLAGS.pthread to itself if pthread.builtin.mk | jlam | 1 | -1/+2 | |
gets included multiple times. | |||||
2004-11-26 | More tightly integrate the OSF1 changes into pthread.builtin.mk by using | jlam | 1 | -24/+17 | |
more feature tests instead of OPSYS tests. | |||||
2004-11-20 | add pthread glue for OSF1, patch from Tobias Nygren. | grant | 1 | -1/+7 | |
2004-11-12 | (1) Split out the native (built-in) pthread detection in | jlam | 1 | -0/+74 | |
pthread.buildlink3.mk into a separate file, pthread.builtin.mk, that is handled using the usual builtin.mk logic. (2) If pthread.buildlink3.mk is included by a package Makefile, then automatically add the necessary compiler and linker flags to compile and link pthread-enabled/reentrant code. For native pthreads, this means passing -pthread to the compiler and linker. For the userland pthread replacement, we pass -D_REENTRANT and -lpthread instead. (3) Add PTHREAD_{CFLAGS,LDFLAGS,LIBS} in both CONFIGURE_ENV and MAKE_ENV when pthread.buildlink3.mk is included so that the configure and build processes can use these values. Remove these definitions from bsd.pkg.mk since PTHREAD_* variables are all declared within pthread.buildlink3.mk. XXX For now, PTHREAD_LDFLAGS is a superset of PTHREAD_LIBS until XXX packages that use use PTHREAD_LDFLAGS can be fixed. |