summaryrefslogtreecommitdiff
path: root/Presence
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2013-07-01 03:25:05 -0400
committerjoe <joe@jerkface.net>2013-07-01 03:25:05 -0400
commit4b3c1e6a9a4065b400829c86859bc3f7376726fe (patch)
tree232213408db97707a05cef033137710ffeb73383 /Presence
parentb9590f5cebd5c25b643f04077adf89d7e91ad82a (diff)
Updated explanation for -DNOUTMP.
Diffstat (limited to 'Presence')
-rw-r--r--Presence/main.hs11
1 files changed, 7 insertions, 4 deletions
diff --git a/Presence/main.hs b/Presence/main.hs
index 9a09b855..816d1537 100644
--- a/Presence/main.hs
+++ b/Presence/main.hs
@@ -15,14 +15,17 @@ import ConfigFiles
15import System.INotify 15import System.INotify
16#ifndef NOUTMP 16#ifndef NOUTMP
17import UTmp 17import UTmp
18-- Breaks profiling build with error: 18-- UTmp is inconvenient for the profiling build due to Template Haskell
19-- causing ghc to report:
20--
19-- Dynamic linking required, but this is a non-standard build (eg. prof). 21-- Dynamic linking required, but this is a non-standard build (eg. prof).
20-- You need to build the program twice: once the normal way, and then 22-- You need to build the program twice: once the normal way, and then
21-- in the desired way using -osuf to set the object file suffix. 23-- in the desired way using -osuf to set the object file suffix.
22-- 24--
23-- TODO: Figure out wtf ghc is trying to tell me. 25-- ... so -DNOUTMP was introduced to remove TemplateHaskell from the build.
24-- In the mean time, use -DNOTMP to build for profiling. 26-- However, a full-featured profiling build can be built using the bp
25-- 27-- script which makes a non-profiling binary available during the build in
28-- the manner in which the error message attempted (and failed) to communicate.
26#endif 29#endif
27import FGConsole 30import FGConsole
28#ifdef HAXML 31#ifdef HAXML