]> git.pld-linux.org Git - packages/crossmingw64-gcc.git/commitdiff
- explicit cross build setup, fix cflags for target libgcc (pr25672). auto/th/crossmingw64-gcc-4_3_1-0_1
authorPaweł Sikora <pluto@pld-linux.org>
Fri, 4 Jul 2008 14:51:33 +0000 (14:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    crossmingw64-gcc.spec -> 1.8

crossmingw64-gcc.spec

index 8fa05f771279ecbe4b1aaa299d9a4d2aa02d9914..19b0567c134b9c8e2f285c30c17fdb787f241d7b 100644 (file)
@@ -20,6 +20,7 @@ Source1:      http://dl.sourceforge.net/mingw-w64/mingw-w64-snapshot-20080424.tar.bz2
 # Source1-md5: e2eea49233efd0be3a40fc774abeb1a2
 Patch0:                %{name}-no_include64.patch
 Patch1:                %{name}-no_red_zone.patch
+Patch2:                %{name}-pr25672.patch
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: bison
@@ -63,6 +64,7 @@ This package contains cross targeted g++ and (static) libstdc++.
 %setup -q -n gcc-%{version} -a 1
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 mkdir -p winsup/mingw
 cp -ar trunk/mingw-w64-headers/include winsup/mingw
 
@@ -102,6 +104,8 @@ TEXCONFIG=false \
        --disable-libssp \
        --with-pkgversion="PLD-Linux" \
        --with-bugurl="http://bugs.pld-linux.org" \
+       --build=%{_target_platform} \
+       --host=%{_target_platform} \
        --target=%{target}
 
 %{__make}
This page took 0.216571 seconds and 4 git commands to generate.