OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-web, openpkg-src Date: 25-Nov-2002 15:16:17
Branch: HEAD Handle: 2002112514161601
Modified files:
openpkg-src/gcc gcc.spec
openpkg-web news.txt
Log:
make with_optimize=no use -O0, make threading optional
Summary:
Revision Changes Path
1.37 +13 -5 openpkg-src/gcc/gcc.spec
1.2108 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
Index: openpkg-src/gcc/gcc.spec
============================================================
$ cvs diff -u -r1.36 -r1.37 gcc.spec
--- openpkg-src/gcc/gcc.spec 20 Nov 2002 08:35:07 -0000 1.36
+++ openpkg-src/gcc/gcc.spec 25 Nov 2002 14:16:17 -0000 1.37
@@ -38,6 +38,9 @@
%ifndef with_binutils
%define with_binutils %(if [ -f %{SOURCE gcc.sh} ]; then sh %{SOURCE gcc.sh}
require-binutils %{l_target}; else echo "no"; fi)
%endif
+%ifndef with_threads
+%define with_threads yes
+%endif
# package information
Name: gcc
@@ -49,7 +52,7 @@
Group: Language
License: GPL
Version: %{V_short}
-Release: 20021120
+Release: 20021125
# list of sources
Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_long}/gcc-%{V_long}.tar.bz2
@@ -76,6 +79,7 @@
--define 'with_cxx %{with_cxx}' \
--define 'with_optimize %{with_optimize}' \
--define 'with_binutils %{with_binutils}' \
+ --define 'with_threads %{with_threads}' \
%prep
%setup -q -n gcc-%{V_long}
@@ -105,7 +109,11 @@
%else
--enable-languages="c" \
%endif
- --enable-threads \
+%if "%{with_threads}" == "yes"
+ --enable-threads=posix \
+%else
+ --enable-threads=single \
+%endif
--disable-maintainer-mode \
--disable-shared \
--disable-nls \
@@ -125,10 +133,10 @@
*-osf* ) l_boot_cflags="-O" ;;
esac
%else
- l_boot_cflags=""
+ l_boot_cflags="-O0"
l_cflags=""
- l_libcflags="-g"
- l_libcxxflags="-g"
+ l_libcflags="-g -O0"
+ l_libcxxflags="-g -O0"
%endif
%{l_make} %{l_mflags} \
MAKE="%{l_make} %{l_mflags}" \
Index: openpkg-web/news.txt
============================================================
$ cvs diff -u -r1.2107 -r1.2108 news.txt
--- openpkg-web/news.txt 25 Nov 2002 14:10:35 -0000 1.2107
+++ openpkg-web/news.txt 25 Nov 2002 14:16:16 -0000 1.2108
@@ -1,3 +1,4 @@
+25-Nov-2002: Upgraded package: P<gcc-3.2.1-20021125>
25-Nov-2002: Upgraded package: P<qt-3.1.0-20021125>
25-Nov-2002: New package: P<aspell-0.50.3-20021125>
25-Nov-2002: Upgraded package: P<perl-gd-20021125-20021125>
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]