<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Meson instructions on web site are non-optimal"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107313#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Meson instructions on web site are non-optimal"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107313">bug 107313</a>
              from <span class="vcard"><a class="email" href="mailto:baker.dylan.c@gmail.com" title="Dylan Baker <baker.dylan.c@gmail.com>"> <span class="fn">Dylan Baker</span></a>
</span></b>
        <pre>The whole quote is:

Meson supports the standard CC and CXX environment variables for changing the
default compiler, and CFLAGS, CXXFLAGS, and LDFLAGS for setting options to the
compiler and linker. The default compilers depends on your operating system.
Meson supports most of the popular compilers, a complete list is available
here. These arguments are consumed and stored by meson when it is initialized
or re-initialized. Therefore passing them to meson configure will not do
anything, and passing them to ninja will only do something if ninja decides to
re-initialize meson, for example, if a meson.build file has been changed.
Changing these variables will not cause all targets to be rebuilt, so running
ninja clean is recommended when changing CFLAGS or CXXFLAGS. Meson will never
change compiler in a configured build directory. 

Unless something has changed meson does not honor changes to the CFLAGS or
CXXFLAGS variables because it treats them as default arguments.

Run this:
CXXFLAGS=-Wall meson build
ninja -C build
unset CXXFLAGS
ninja -C build
<span class="quote">> ninja: Entering directory `build'
> ninja: no work to do.</span >

My understanding was that this behavior was intentional, if it's not I'll file
a bug.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>