Commit fa92f5d1 authored by Simon Marlow's avatar Simon Marlow
Browse files

OPTIONS_GHC overrides the command-line, not the other way around

parent bcf84370
...@@ -73,10 +73,9 @@ module X where ...@@ -73,10 +73,9 @@ module X where
maintains internally, so you'll be desperately disappointed if maintains internally, so you'll be desperately disappointed if
you try to glob etc. inside <literal>OPTIONS_GHC</literal>.</para> you try to glob etc. inside <literal>OPTIONS_GHC</literal>.</para>
<para>NOTE: the contents of OPTIONS_GHC are prepended to the <para>NOTE: the contents of OPTIONS_GHC are appended to the
command-line options, so you <emphasis>do</emphasis> have the command-line options, so options given in the source file
ability to override OPTIONS_GHC settings via the command override those given on the command-line.</para>
line.</para>
<para>It is not recommended to move all the contents of your <para>It is not recommended to move all the contents of your
Makefiles into your source files, but in some circumstances, the Makefiles into your source files, but in some circumstances, the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment