From 61d075d3c275366c3344d59c058d7dd0baf21ef2 Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Thu, 18 Mar 2021 17:52:22 +0100 Subject: Fix typo `DRTSOPTS` -> `RTSOPTS` The cpp option `-DRTSOPTS` results in `RTSOPTS` being defined. --- src/Xmobar/App/Compile.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Xmobar/App/Compile.hs b/src/Xmobar/App/Compile.hs index bcb18d0..80dbac7 100644 --- a/src/Xmobar/App/Compile.hs +++ b/src/Xmobar/App/Compile.hs @@ -165,7 +165,7 @@ recompile confDir dataDir execName force verb = liftIO $ do #ifdef THREADED_RUNTIME ++ ["-threaded"] #endif -#ifdef DRTSOPTS +#ifdef RTSOPTS ++ ["-rtsopts", "-with-rtsopts", "-V0"] #endif ++ ["-o", bin] -- cgit v1.2.3