@@ -2,6 +2,7 @@
2004
====
+20040422 backout added hack to "rpmtool cflags -O" processing because it was incorrect
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'"
@@ -39,7 +39,7 @@
# o any cc(1)
# the package version/release
-%define V_openpkg 20040421
+%define V_openpkg 20040422
# the used software versions
%define V_rpm 4.2.1
@@ -451,10 +451,7 @@ case $tool in
cflags="$cflags -pipe"
fi
else
- case $platform in
- *:OSF1:*:* ) cflags="-O1" ;;
- * ) cflags="-O" ;;
- esac
+ cflags="-O"
echo "x$cflags" | sed -e 's;^x;;'