]> git.pld-linux.org Git - packages/crossmingw32-gcc.git/blob - crossmingw32-gcc-buildsystem2.patch
- added pthreads-w32, use POSIX threading model for std::thread/std::mutex support
[packages/crossmingw32-gcc.git] / crossmingw32-gcc-buildsystem2.patch
1 --- gcc/libgcc/Makefile.in.org  2010-04-29 23:43:30.179106889 +0200
2 +++ gcc/libgcc/Makefile.in      2010-04-29 23:43:41.993233119 +0200
3 @@ -64,7 +64,7 @@
4  AR = @AR@
5  AR_FLAGS = rc
6  
7 -CC = @CC@
8 +override CC = @CC@
9  CFLAGS = @CFLAGS@
10  RANLIB = @RANLIB@
11  LN_S = @LN_S@
12 --- gcc-9.5.0/libgcc/configure.orig     2023-04-15 23:24:15.271132715 +0200
13 +++ gcc-9.5.0/libgcc/configure  2023-04-16 07:36:39.584410765 +0200
14 @@ -3208,6 +3208,7 @@ if test -n "$ac_tool_prefix"; then
15  set dummy ${ac_tool_prefix}gcc; ac_word=$2
16  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17  $as_echo_n "checking for $ac_word... " >&6; }
18 +CC="$CC -isystem `pwd`/../../sysroot/i386-mingw32/include -isystem `pwd`/../../sysroot/i386-mingw32/sys-include -B`pwd`/../../sysroot/i386-mingw32/lib/"
19  if ${ac_cv_prog_CC+:} false; then :
20    $as_echo_n "(cached) " >&6
21  else
22 --- gcc/libiberty/Makefile.in.org       2010-04-29 23:53:50.429231967 +0200
23 +++ gcc/libiberty/Makefile.in   2010-04-29 23:54:00.206482863 +0200
24 @@ -53,7 +53,7 @@
25  AR = @AR@
26  AR_FLAGS = rc
27  
28 -CC = @CC@
29 +override CC = @CC@
30  CFLAGS = @CFLAGS@
31  CPPFLAGS = @CPPFLAGS@
32  RANLIB = @RANLIB@
33 --- gcc-9.5.0/libiberty/configure.orig  2023-04-15 23:24:15.307799183 +0200
34 +++ gcc-9.5.0/libiberty/configure       2023-04-16 07:37:20.094191305 +0200
35 @@ -2990,6 +2990,7 @@ if test -n "$ac_tool_prefix"; then
36  set dummy ${ac_tool_prefix}gcc; ac_word=$2
37  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38  $as_echo_n "checking for $ac_word... " >&6; }
39 +CC="$CC -isystem `pwd`/../../sysroot/i386-mingw32/include -isystem `pwd`/../../sysroot/i386-mingw32/sys-include -B`pwd`/../../sysroot/i386-mingw32/lib/"
40  if ${ac_cv_prog_CC+:} false; then :
41    $as_echo_n "(cached) " >&6
42  else
43 --- gcc-9.5.0/libstdc++-v3/Makefile.in.orig     2022-05-27 09:21:13.311391084 +0200
44 +++ gcc-9.5.0/libstdc++-v3/Makefile.in  2023-04-15 23:24:15.351132282 +0200
45 @@ -197,7 +197,7 @@ AUTOMAKE = @AUTOMAKE@
46  AWK = @AWK@
47  BASIC_FILE_CC = @BASIC_FILE_CC@
48  BASIC_FILE_H = @BASIC_FILE_H@
49 -CC = @CC@
50 +override CC = @CC@
51  CCODECVT_CC = @CCODECVT_CC@
52  CCOLLATE_CC = @CCOLLATE_CC@
53  CCTYPE_CC = @CCTYPE_CC@
54 @@ -217,7 +217,7 @@ CPU_OPT_EXT_RANDOM = @CPU_OPT_EXT_RANDOM
55  CSTDIO_H = @CSTDIO_H@
56  CTIME_CC = @CTIME_CC@
57  CTIME_H = @CTIME_H@
58 -CXX = @CXX@
59 +override CXX = @CXX@
60  CXXCPP = @CXXCPP@
61  CXXFILT = @CXXFILT@
62  CXXFLAGS = @CXXFLAGS@
63 --- gcc-9.5.0/libstdc++-v3/configure.orig       2022-05-27 09:21:13.335391201 +0200
64 +++ gcc-9.5.0/libstdc++-v3/configure    2023-04-16 07:38:19.120538198 +0200
65 @@ -3795,6 +3795,7 @@ fi
66  save_CXXFLAGS="$CXXFLAGS"
67  CXXFLAGS="$CXXFLAGS -fno-builtin"
68  ac_ext=c
69 +CPP=$CXXCPP
70  ac_cpp='$CPP $CPPFLAGS'
71  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73 @@ -3804,6 +3805,8 @@ if test -n "$ac_tool_prefix"; then
74  set dummy ${ac_tool_prefix}gcc; ac_word=$2
75  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76  $as_echo_n "checking for $ac_word... " >&6; }
77 +CC="$CC -isystem `pwd`/../../sysroot/i386-mingw32/include -isystem `pwd`/../../sysroot/i386-mingw32/sys-include -B`pwd`/../../sysroot/i386-mingw32/lib/"
78 +CXX="$CXX -isystem `pwd`/../../sysroot/i386-mingw32/include -isystem `pwd`/../../sysroot/i386-mingw32/sys-include -B`pwd`/../../sysroot/i386-mingw32/lib/"
79  if ${ac_cv_prog_CC+:} false; then :
80    $as_echo_n "(cached) " >&6
81  else
This page took 0.042315 seconds and 3 git commands to generate.