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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   12-Sep-2003 16:56:18
  Branch: HEAD                             Handle: 2003091215561700

  Modified files:
    openpkg-src/openpkg     HISTORY rpmtool

  Log:
    add -pipe to %{l_cflags} only if %{l_cc} is GCC and as(1) is GNU as

  Summary:
    Revision    Changes     Path
    1.49        +1  -0      openpkg-src/openpkg/HISTORY
    1.21        +5  -1      openpkg-src/openpkg/rpmtool
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/HISTORY
  ============================================================================
  $ cvs diff -u -r1.48 -r1.49 HISTORY
  --- openpkg-src/openpkg/HISTORY       12 Sep 2003 13:18:22 -0000      1.48
  +++ openpkg-src/openpkg/HISTORY       12 Sep 2003 14:56:17 -0000      1.49
  @@ -2,6 +2,7 @@
   2003
   ====
   
  +20030912 add -pipe to %{l_cflags} only if %{l_cc} is GCC and as(1) is GNU as
   20030912 remove per-package %{_sourcedir} and %{_specdir} directories on --rebuild
   20030912 allow "-bb --short-circuit" for continuing building a binary package
   20030912 unconditionally remove temporary files of generated/executed scripts
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/rpmtool
  ============================================================================
  $ cvs diff -u -r1.20 -r1.21 rpmtool
  --- openpkg-src/openpkg/rpmtool       15 Jul 2003 10:08:26 -0000      1.20
  +++ openpkg-src/openpkg/rpmtool       12 Sep 2003 14:56:17 -0000      1.21
  @@ -433,7 +433,11 @@
           cflags=''
           if [ ".$opt_O" = .yes ]; then
               if [ ".$isgcc" = .yes ]; then
  -                cflags="-O2 -pipe"
  +                cflags="-O2"
  +                if [ ".`$tool -v 2>/dev/null | grep 'with-gnu-as'`" != . ] || \
  +                   [ ".`(as --version) 2>/dev/null | grep 'GNU'`" != . ]; then
  +                    cflags="$cflags -pipe"
  +                fi
               else
                   cflags="-O"
               fi
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to