summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Infra/BuildInfo.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/GF/Infra/BuildInfo.hs')
-rw-r--r--src/compiler/GF/Infra/BuildInfo.hs10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/compiler/GF/Infra/BuildInfo.hs b/src/compiler/GF/Infra/BuildInfo.hs
index 127c7f6f3..2ff770393 100644
--- a/src/compiler/GF/Infra/BuildInfo.hs
+++ b/src/compiler/GF/Infra/BuildInfo.hs
@@ -1,7 +1,15 @@
+{-# LANGUAGE CPP #-}
module GF.Infra.BuildInfo where
import System.Info
import Data.Version(showVersion)
buildInfo =
"Built on "++os++"/"++arch
- ++" with "++compilerName++"-"++showVersion compilerVersion \ No newline at end of file
+ ++" with "++compilerName++"-"++showVersion compilerVersion
+ ++", flags:"
+#ifdef USE_INTERRUPT
+ ++" interrupt"
+#endif
+#ifdef SERVER_MODE
+ ++" server"
+#endif