OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-web                      Date:   26-Feb-2003 09:38:15
  Branch: HEAD                             Handle: 2003022608381400

  Modified files:
    openpkg-web             faq.wml

  Log:
    split off overriding-cc from overriding-cflags and enhance both

  Summary:
    Revision    Changes     Path
    1.25        +19 -4      openpkg-web/faq.wml
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-web/faq.wml
  ============================================================================
  $ cvs diff -u -r1.24 -r1.25 faq.wml
  --- openpkg-web/faq.wml       26 Feb 2003 08:18:21 -0000      1.24
  +++ openpkg-web/faq.wml       26 Feb 2003 08:38:14 -0000      1.25
  @@ -454,11 +454,26 @@
   
   <faq id="overriding-cflags"
        title="How can i override the CFLAGS default for all packages?">
  -     You should be able to achieve this by overriding the l_cc and l_cflags
  -     variables in your <tt>~/.rpmmacros</tt>, i.e.
  +     You can override the RPM default of <tt>%l_cflags</tt> permanently in your
  +     <tt>~/.rpmmacros</tt>. Example:
        <pre>
  -       %l_cc     gcc
  -       %l_cflags -pipe -O3 -march=i686 -funroll-loops
  +       %l_cflags    -pipe -O3 -march=i686 -funroll-loops
  +     </pre>
  +</faq>
  +
  +<faq id="overriding-cc"
  +     title="How can i override the CC default for all packages?">
  +     You can override the RPM default <tt>%l_cc</tt> permanently in your
  +     <tt>~/.rpmmacros</tt>. This is especially useful when bootstrapping
  +     platforms where OpenPKG does not initially find a C compiler in the
  +     path. The most prominent example is Solaris. Example:
  +     <pre>
  +       %l_cc    /usr/local/bin/gcc
  +     </pre>
  +     Alternatively, you can override <tt>%l_cc</tt> for a single rebuild
  +     by defining "with_cc".
  +     <pre>
  +       .../rpm --define "with_cc /usr/local/bin/gcc" --rebuild ...
        </pre>
   </faq>
   </ol>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to