diff options
author | rpj <rpj> | 2001-10-25 23:51:53 +0000 |
---|---|---|
committer | rpj <rpj> | 2001-10-25 23:51:53 +0000 |
commit | 820ca4b34c23ef8d91edade437f0f9fd781f8b89 (patch) | |
tree | 0cf9a2f78eea742c19761b071479d94644278195 /GNUmakefile | |
parent | 222a76c37c89ee37eebecd53dd32fd481245e6fa (diff) |
* GNUmakefile (libwsock32): Add to linker flags for
WSAGetLastError() and WSASetLastError().
* Makefile (wsock32.lib): Likewise.
* create.c: Minor mostly inert changes.
* implement.h (PTW32_MAX): Move into here and renamed
from sched.h.
(PTW32_MIN): Likewise.
* GNUmakefile (TEST_ICE): Define if testing internal
implementation of InterlockedCompareExchange.
* Makefile (TEST_ICE): Likewise.
* private.c (TEST_ICE): Likewise.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 60bee78..2ae35f9 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -32,8 +32,11 @@ CXX = g++ AR = ar OPT = -O3 +#OPT = -O3 -DTEST_ICE #OPT = -O2 -DNDEBUG -finline-functions +LFLAGS = -lwsock32 + GC_CFLAGS = -D__CLEANUP_C GCE_CFLAGS = -D__CLEANUP_CXX -x c++ -mthreads @@ -88,11 +91,11 @@ tests: $(GC_DLL): $(OBJS) - $(CC) $(OPT) -shared -o $@ $^ + $(CC) $(OPT) -shared -o $@ $^ $(LFLAGS) dlltool -k --dllname $@ --output-lib $(GC_LIB) --def pthread.def $(GCE_DLL): $(OBJS) - $(CXX) $(OPT) -mthreads -shared -o $@ $^ + $(CXX) $(OPT) -mthreads -shared -o $@ $^ $(LFLAGS) dlltool -k --dllname $@ --output-lib $(GCE_LIB) --def pthread.def clean: |