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
maintains internally, so you'll be desperately disappointed if
you try to glob etc. inside <literal>OPTIONS_GHC</literal>.</para>
<para>NOTE: the contents of OPTIONS_GHC are prepended to the
command-line options, so you <emphasis>do</emphasis> have the
ability to override OPTIONS_GHC settings via the command
<para>NOTE: the contents of OPTIONS_GHC are appended to the
command-line options, so options given in the source file
override those given on the command-line.</para>
<para>It is not recommended to move all the contents of your
Makefiles into your source files, but in some circumstances, the
Supports Markdown
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