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: 21-Apr-2004 18:45:06
Branch: HEAD Handle: 2004042117450400
Modified files:
openpkg-src/openpkg HISTORY rpmtool
Log:
add hack to "rpmtool cflags -O" processing because Tru64 does not know
plain "-O" option
Summary:
Revision Changes Path
1.164 +1 -0 openpkg-src/openpkg/HISTORY
1.35 +4 -1 openpkg-src/openpkg/rpmtool
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/HISTORY
============================================================================
$ cvs diff -u -r1.163 -r1.164 HISTORY
--- openpkg-src/openpkg/HISTORY 21 Apr 2004 15:18:06 -0000 1.163
+++ openpkg-src/openpkg/HISTORY 21 Apr 2004 16:45:04 -0000 1.164
@@ -2,6 +2,7 @@
2004
====
+20040421 add hack to "rpmtool cflags -O" processing because Tru64 doesn't know
plain "-O" option
20040421 POSIX compliance: replace "head -1" with "sed -e 'q'" and "tail -1" with
"sed -n -e '$p'"
20040418 **** RELEASE AS PART OF OPENPKG 2.0.2 ***
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/rpmtool
============================================================================
$ cvs diff -u -r1.34 -r1.35 rpmtool
--- openpkg-src/openpkg/rpmtool 21 Apr 2004 15:18:06 -0000 1.34
+++ openpkg-src/openpkg/rpmtool 21 Apr 2004 16:45:04 -0000 1.35
@@ -451,7 +451,10 @@
cflags="$cflags -pipe"
fi
else
- cflags="-O"
+ case $platform in
+ *:OSF1:*:* ) cflags="-O1" ;;
+ * ) cflags="-O" ;;
+ esac
fi
fi
echo "x$cflags" | sed -e 's;^x;;'
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]