Просмотр исходного кода

Ripped out gcc-specific build defs and removed thread switch. Please review, as I might have ripped out too much.

Ralf S. Engelschall 24 лет назад
Родитель
Сommit
f39d679a6b
1 измененных файлов с 8 добавлено и 12 удалено
  1. 8 12
      pgp/pgp.spec

+ 8 - 12
pgp/pgp.spec

@@ -37,7 +37,7 @@ Distribution: OpenPKG [REL]
 Group:        Cryptography
 License:      GPL
 Version:      %{V_long}
-Release:      20020206
+Release:      20020621
 
 #   list of sources
 Source0:      ftp://ftp.pgpi.org/pub/pgp/%{V_short}/%{V_long}/pgpsrc%{V_strip}unix.tar.gz
@@ -68,25 +68,21 @@ AutoReqProv:  no
 %build
     cd pgpsrc
     ( cd libs/pfl
-      CC="%{l_cc}" CFLAGS="%{l_cflags -O}" ./configure
-      %{l_make} %{l_mflags} OPT="%{l_cflags -O}" DEBUG=0
+      CC="%{l_cc}" ./configure
+      %{l_make} %{l_mflags} DEBUG=0
     )
     ( cd libs/pgpcdk
-      CC="%{l_cc}" CFLAGS="%{l_cflags -O}" ./configure
+      CC="%{l_cc}" ./configure
       %{l_make} %{l_mflags} headers
-      %{l_make} %{l_mflags} OPT="%{l_cflags -O}" DEBUG=0
+      %{l_make} %{l_mflags} DEBUG=0
     )
     ( cd clients/pgp/shared
-      CC="%{l_cc}" CFLAGS="%{l_cflags -O}" ./configure
-      %{l_make} %{l_mflags} OPT="%{l_cflags -O}" DEBUG=0
+      CC="%{l_cc}" ./configure
+      %{l_make} %{l_mflags} DEBUG=0
     )
     ( cd clients/pgp/cmdline
-      CFLAGS="%{l_cflags -O}"
-      case "%{l_target}" in
-          *-freebsd* ) CFLAGS="$CFLAGS -pthread" ;;
-      esac
       CC="%{l_cc}" CFLAGS="$CFLAGS" LIBS="$LIBS" ./configure
-      %{l_make} %{l_mflags} OPT="%{l_cflags -O}" DEBUG=0
+      %{l_make} %{l_mflags} DEBUG=0
     )
 
 %install