]> granicus.if.org Git - gc/commitdiff
Rename nothreads option to disable_threads in NT_MAKEFILE
authorIvan Maidanski <ivmai@mail.ru>
Fri, 19 Jul 2019 18:17:18 +0000 (21:17 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 19 Jul 2019 18:17:18 +0000 (21:17 +0300)
* NT_MAKEFILE: Change nothreads=1 to disable_threads=1 in the header
comment.
* NT_MAKEFILE (CFLAGS_MT): Rename NOTHREADS to DISABLE_THREADS.
* doc/README.win32 (Microsoft Tools): Change nothreads=1 to
disable_threads=1.
* doc/README.win64: Likewise.

NT_MAKEFILE
doc/README.win32
doc/README.win64

index 939becf6bcf66616417b7d3021bbe70a85f39d26..89c266d2ac89e46adcbe5e1090ad85ff6b83510a 100644 (file)
@@ -2,8 +2,8 @@
 # Should be invoked as "nmake -f NT_MAKEFILE [<args>]"; the optional arguments
 # are: "cpu=AMD64" - to target x64, "cpu=i386" - to target x86,
 # "make_as_lib=1" - to build it as a static library, "nodebug=1" - to produce
-# the release variant of the library, "nothreads=1" - to build the library and
-# the tests without threads support.
+# the release variant of the library, "disable_threads=1" - to build the
+# library and the tests without threads support.
 
 cc = cl
 link = link
@@ -52,7 +52,7 @@ CVTRES_CPU=X64
 CFLAGS_DEBUG=-DGC_ASSERTIONS
 !ENDIF
 
-!IFNDEF NOTHREADS
+!IFNDEF DISABLE_THREADS
 CFLAGS_MT=$(cvarsmt) -DGC_THREADS -DTHREAD_LOCAL_ALLOC -DPARALLEL_MARK
 !ENDIF
 
index 90bf2c34a887dd046592eaea36d9c6862e39adb2..3cb17c0902d21433db21c9026e028ef0264b8af2 100644 (file)
@@ -41,7 +41,7 @@ Microsoft Tools
 ---------------
 
 For Microsoft development tools, type
-"nmake -f NT_MAKEFILE cpu=i386 make_as_lib=1 nothreads=1 nodebug=1"
+"nmake -f NT_MAKEFILE cpu=i386 make_as_lib=1 disable_threads=1 nodebug=1"
 to build the release variant of the collector as a static library without
 threads support.
 
index b2d83044c8b5f0b48a64937a10755bf00acb1b7c..22900df214d70d92a4f7a5edcf4cbec20bb2aeaf 100644 (file)
@@ -18,7 +18,7 @@ for the 32-bit library version.
 A similar procedure using NT_MAKEFILE is applicable to build the static
 library - just pass "make_as_lib=1" as an extra argument to nmake.
 If needed, it is also possible to build the library without threads
-support - this could be done by passing "nothreads=1" argument to nmake.
+support - this could be done by passing "disable_threads=1" argument to nmake.
 
 Note that some warnings have been explicitly turned off in the makefile.