annotate sources/patches/gcc-core-libgcceh.patch @ 812:4e1e6aa7f445

Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
author Rob Landley <rob@landley.net>
date Sat, 22 Aug 2009 04:07:00 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
812
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 --- gcc-4.2.1/gcc/mklibgcc.in 2006-07-04 15:20:01.000000000 -0500
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
2 +++ gcc-core/gcc/mklibgcc.in 2009-08-21 21:51:35.000000000 -0500
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
3 @@ -223,8 +223,8 @@
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
4 if [ "$LIBUNWIND" ]; then
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
5 libunwind_a=$dir/libunwind.a
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
6 fi
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
7 + libgcc_eh_a=$dir/libgcc_eh.a
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
8 if [ "$SHLIB_LINK" ]; then
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
9 - libgcc_eh_a=$dir/libgcc_eh.a
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
10 libgcc_s_so=$dir/libgcc_s${SHLIB_EXT}
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
11 if [ "$LIBUNWIND" ]; then
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
12 libunwind_so=$dir/libunwind${SHLIB_EXT}
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
13 @@ -889,11 +889,11 @@
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
14 echo ' chmod 644' ${ldir}/libgcov.a
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
15 echo ' $(RANLIB_FOR_TARGET)' ${ldir}/libgcov.a
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
16
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
17 - if [ "$SHLIB_LINK" ]; then
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
18 echo ' $(INSTALL_DATA)' ${dir}/libgcc_eh.a ${ldir}/
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
19 echo ' chmod 644' ${ldir}/libgcc_eh.a
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
20 echo ' $(RANLIB_FOR_TARGET)' ${ldir}/libgcc_eh.a
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
21
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
22 + if [ "$SHLIB_LINK" ]; then
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
23 shlib_slibdir_qual=
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
24 os_multilib_dir=`$GCC_FOR_TARGET $flags --print-multi-os-directory`
4e1e6aa7f445 Convince gcc to build/install libgcc_eh.a even for --disable-shared compilers, and tell the wrapper to expect it.
Rob Landley <rob@landley.net>
parents:
diff changeset
25 if [ "$os_multilib_dir" != . ]; then