Explorar o código

Removed gcc-specific defs and removed thread switch

Ralf S. Engelschall %!s(int64=24) %!d(string=hai) anos
pai
achega
f2beaff51a
Modificáronse 1 ficheiros con 1 adicións e 6 borrados
  1. 1 6
      pgp2/pgp2.spec

+ 1 - 6
pgp2/pgp2.spec

@@ -68,12 +68,7 @@ AutoReqProv:  no
 
 %build
     cd src
-    CC="%{l_cc}" CFLAGS="%{l_cflags -O}"
-    CFLAGS="%{l_cflags -O}"
-    case "%{l_target}" in
-        *-freebsd* ) CFLAGS="$CFLAGS -pthread" ;;
-        *-solaris* ) CFLAGS="$CFLAGS -pthreads" ;;
-    esac
+    CC="%{l_cc}"
     case "%{l_target}" in
         *-freebsd* )
             OS=freebsd