Browse Source

backout added hack to "rpmtool cflags -O" processing because it was incorrect

Ralf S. Engelschall 21 years ago
parent
commit
e7ce13449c
3 changed files with 3 additions and 5 deletions
  1. 1 0
      openpkg/HISTORY
  2. 1 1
      openpkg/openpkg.spec
  3. 1 4
      openpkg/rpmtool

+ 1 - 0
openpkg/HISTORY

@@ -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'"
 

+ 1 - 1
openpkg/openpkg.spec

@@ -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

+ 1 - 4
openpkg/rpmtool

@@ -451,10 +451,7 @@ case $tool in
                     cflags="$cflags -pipe"
                 fi
             else
-                case $platform in
-                   *:OSF1:*:* ) cflags="-O1" ;;
-                   *          ) cflags="-O"  ;;
-                esac
+                cflags="-O"
             fi
         fi
         echo "x$cflags" | sed -e 's;^x;;'