Skip to content

Commit 1167fde

Browse files
LnL7domenkozar
authored andcommittedNov 1, 2017
docs: add note about makeFlags quoting
1 parent daf7868 commit 1167fde

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed
 

Diff for: ‎doc/stdenv.xml

+8-2
Original file line numberDiff line numberDiff line change
@@ -698,8 +698,14 @@ nothing.</para>
698698
<listitem><para>A list of strings passed as additional flags to
699699
<command>make</command>. These flags are also used by the default
700700
install and check phase. For setting make flags specific to the
701-
build phase, use <varname>buildFlags</varname> (see
702-
below).</para></listitem>
701+
build phase, use <varname>buildFlags</varname> (see below).
702+
703+
<programlisting>
704+
makeFlags = [ "PREFIX=$(out)" ];
705+
</programlisting>
706+
707+
<note><para>The flags are quoted in bash, but environment variables can
708+
be specified by using the make syntax.</para></note></para></listitem>
703709
</varlistentry>
704710

705711
<varlistentry>

0 commit comments

Comments
 (0)
Please sign in to comment.