FreeBSD Bugzilla – Attachment 9409 Details for
Bug 19278
Change to Respect CLFAGS portion of Porters Handbook
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.04 KB, created by
zach
on 2000-06-15 01:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
zach
Created:
2000-06-15 01:20:00 UTC
Size:
1.04 KB
patch
obsolete
>--- x1663.html.orig Wed Jun 14 14:40:59 2000 >+++ x1663.html Wed Jun 14 16:39:23 2000 >@@ -45,6 +45,28 @@ > CFLAGS</tt> variable. If it does not, please add <tt class= > "LITERAL">NO_PACKAGE=ignores cflags</tt> to the <tt class= > "FILENAME">Makefile</tt>.</p> >+ >+ <p>An example of a Makefile respecting the >+ <tt class="MAKEVAR">CFLAGS</tt> variable <B>(note the >+ <tt class="MAKEVAR">+=</tt></B>):</p> >+ >+<pre class="PROGRAMLISTING"> >+ CFLAGS += -Wall -Werror >+</pre> >+ >+ <p>An example of a Makefile which does not respect the >+ <tt class="MAKEVAR">CFLAGS</tt> variable:</p> >+ >+<pre class="PROGRAMLISTING"> >+ CFLAGS = -Wall -Werror >+</pre> >+ >+ <p>The <tt class="MAKEVAR">CFLAGS</tt> variable is defined on >+ FreeBSD systems in /etc/make.conf. The first example appends >+ additional flags to the <tt class="MAKEVAR">CFLAGS</tt> >+ variable, preserving any system wide definitions. The second >+ example clobbers anything previously defined.</p> >+ > </div> > > <div class="NAVFOOTER">
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19278
: 9409