diff --git a/Changelog.md b/Changelog.md
--- a/Changelog.md
+++ b/Changelog.md
@@ -1,3 +1,7 @@
+### 0.5.0.4
+
+- *nhm-tool*: use GHC option *-flink-rts* only in GHC *9.x*.
+
 ### 0.5.0.3
 
 - *nhm-tool*: replace dependency on *prettyprinter* by *ansi-terminal*.
diff --git a/NgxExport/Distribution.hs b/NgxExport/Distribution.hs
--- a/NgxExport/Distribution.hs
+++ b/NgxExport/Distribution.hs
@@ -187,7 +187,7 @@
 --
 -- Notes about the value of /--ghc-options/ in command /cabal v1-build/.
 --
--- - In ghc older than /8.10.6/, option /-threaded/ must be replaced with option
+-- - In ghc older than /9.0.1/, option /-threaded/ must be replaced with option
 --   /-lHSrts_thr-ghc$(ghc --numeric-version)/ because ghc option /-flink-rts/,
 --   which is passed by the module internally, has first appeared in the said
 --   release,
@@ -298,7 +298,7 @@
 -- > $ make
 -- > $ sudo make install
 --
--- With ghc older than /8.10.6/, build with
+-- With ghc older than /9.0.1/, build with
 --
 -- > $ make LINKRTS=-lHSrts_thr-ghc$(ghc --numeric-version)
 
@@ -323,7 +323,7 @@
 --
 -- Runs /ghc/ compiler with the following arguments.
 --
--- - /-dynamic/, /-shared/, /-fPIC/, /-flink-rts/ (in /ghc 8.10.6/ and newer),
+-- - /-dynamic/, /-shared/, /-fPIC/, /-flink-rts/ (in /ghc 9.0.1/ and newer),
 -- - all arguments listed in /ghc-options/ in the Cabal file,
 -- - all arguments passed in option /--ghc-options/ from command-line,
 -- - if arguments do not contain /-o path/ so far, then /$pkg.hs/, /-o $pkg.so/.
@@ -368,7 +368,7 @@
             \you may want to specify input and output files in --ghc-options"
     ghcP <- fst <$> requireProgram verbosity ghcProgram (withPrograms lbi)
     let libGhcOptions = ["-dynamic", "-shared", "-fPIC"]
-        libGhcOptions' = if programVersion ghcP >= Just (mkVersion [8, 10, 6])
+        libGhcOptions' = if programVersion ghcP >= Just (mkVersion [9, 0, 1])
                              then "-flink-rts" : libGhcOptions
                              else libGhcOptions
         ghcR = programInvocation ghcP $
diff --git a/ngx-export-distribution.cabal b/ngx-export-distribution.cabal
--- a/ngx-export-distribution.cabal
+++ b/ngx-export-distribution.cabal
@@ -1,5 +1,5 @@
 name:                       ngx-export-distribution
-version:                    0.5.0.3
+version:                    0.5.0.4
 synopsis:                   Build custom libraries for Nginx haskell module
 description:                Build custom libraries for
         <https://github.com/lyokha/nginx-haskell-module Nginx haskell module>.
diff --git a/nhm-tool.hs b/nhm-tool.hs
--- a/nhm-tool.hs
+++ b/nhm-tool.hs
@@ -458,7 +458,7 @@
          then ""
          else
      "\n\
-     \  if impl(ghc >= 8.10.6)\n\
+     \  if impl(ghc >= 9.0.1)\n\
      \    ghc-options:           -threaded\n"
     ]
 
