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

compiles and runs with gcc3.2.2

Michael van Elst 23 лет назад
Родитель
Сommit
bbad3c3d39
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      xalan-c/xalan-c.spec

+ 5 - 5
xalan-c/xalan-c.spec

@@ -37,7 +37,7 @@ Distribution: OpenPKG [EVAL]
 Group:        Web
 License:      Apache Software License 1.1
 Version:      %{V_opkg}
-Release:      20030123
+Release:      20030208
 
 #   package options
 %option       with_threads  no
@@ -49,7 +49,7 @@ Patch0:       xalan-c.patch
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 1.2.0, autoconf, libtool, gcc33 >= 3.3s20030120, make, xerces-c >= 2.1.0
+BuildPreReq:  OpenPKG, openpkg >= 1.2.0, autoconf, libtool, gcc >= 3.2.2, make, xerces-c >= 2.1.0
 PreReq:       OpenPKG, openpkg >= 1.2.0, xerces-c >= 2.1.0
 %if "%{with_threads}" == "yes"
 BuildPreReq:  xerces-c::with_threads = yes
@@ -128,10 +128,10 @@ AutoReqProv:  no
                         ;;
       esac ;
 %endif
-      CC="%{l_prefix}/bin/gcc33 $cf" \
-      CXX="%{l_prefix}/bin/g++33 $cf" \
+      CC="%{l_cc}" \
+      CXX="%{l_cxx}" \
       CFLAGS="%{l_cflags -O}" \
-      CXXFLAGS="-O0" \
+      CXXFLAGS="%{l_cxxflags -O}" \
       LDFLAGS="%{l_ldflags} $lf" \
       ./configure \
         --prefix=%{l_prefix}