]> git.pld-linux.org Git - packages/crossnacl-gcc.git/blobdiff - crossnacl-gcc.spec
- rebuild with ppl 1.0
[packages/crossnacl-gcc.git] / crossnacl-gcc.spec
index 93436dbc996c00b02de072903186a994a0f6950d..e4fe1e7f4da9fa4fab9fff13cfe93e4402d79d49 100644 (file)
@@ -2,15 +2,15 @@
 # Conditional build:
 %bcond_with    bootstrap               # build without NaCL newlib package dependency (without c++ package)
 
-%define                gitver  3937565
+%define                gitver  455063d
 Summary:       Various compilers (C, C++) for NaCl
 Name:          crossnacl-gcc
 Version:       4.4.3
-Release:       6.git%{gitver}
+Release:       10.git%{gitver}
 License:       GPL v3+ and GPL v3+ with exceptions and GPL v2+ with exceptions
 Group:         Development/Languages
-Source0:       nacl-gcc-%{version}-git%{gitver}.tar.bz2
-# Source0-md5: fcdfdd30b82d8ad8fa6e39e7e32cee64
+Source0:       nacl-gcc-%{version}-git%{gitver}.tar.xz
+# Source0-md5: dd49a8726695a06c7fe9fc531dc6c637
 Source1:       get-source.sh
 URL:           http://sourceware.org/gcc/
 BuildRequires: cloog-ppl-devel
@@ -19,7 +19,9 @@ BuildRequires:        elfutils-devel
 BuildRequires: gmp-c++-devel
 BuildRequires: gmp-devel
 BuildRequires: mpfr-devel
-BuildRequires: ppl-pwl-devel
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildConflicts:        cloog-isl-devel
 %if %{without bootstrap}
 BuildRequires: crossnacl-newlib
 %endif
@@ -33,6 +35,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                gccnlib         %{_prefix}/lib/gcc/%{target}/%{gcc_ver}
 
 %define                filterout_cpp   -D_FORTIFY_SOURCE=[0-9]+
+%define                filterout_c             -Werror=format-security
 
 %description
 The gcc package contains the GNU Compiler Collection version 4.4.3.
@@ -73,7 +76,7 @@ rm -rf obj-%{target}
 install -d obj-%{target}
 cd obj-%{target}
 
-OPT_FLAGS="%{rpmcflags}"
+OPT_FLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
 OPT_FLAGS=$(echo "$OPT_FLAGS" | sed -e 's/-m64//g;s/-m32//g;s/-m31//g')
 %ifarch %{ix86}
 OPT_FLAGS=$(echo "$OPT_FLAGS" | sed -e 's/-march=i.86//g')
@@ -124,7 +127,7 @@ GCC_DEFINES="-Dinhibit_libc -D__gthr_posix_h"
        --with-newlib \
 %endif
        --target=%{target} \
-       --with-host-libstdcxx="-lpwl -lstdc++ -lm" \
+       --with-host-libstdcxx="-lstdc++ -lm" \
        --disable-ppl-version-check \
        --disable-libgcj
 
This page took 0.070975 seconds and 4 git commands to generate.