mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 06:07:49 +00:00
45 lines
1.3 KiB
Diff
45 lines
1.3 KiB
Diff
#
|
|
# Submitted-By: Marc Kleine-Budde <mkl@pengutronix.de>, 2005-04-20
|
|
#
|
|
# Error:
|
|
#
|
|
# creating libintl.h
|
|
# Configuring etc...
|
|
# loading cache ../config.cache
|
|
# checking for a BSD compatible install... (cached) /usr/bin/install -c
|
|
# creating ./config.status
|
|
# creating Makefile
|
|
# trap: usage: trap [-lp] [[arg] signal_spec ...]
|
|
#
|
|
# Description:
|
|
#
|
|
# non-posix conform usage of trap causes bash >= 3.0 to fail
|
|
# e.g.: http://sourceware.org/ml/crossgcc/2004-12/msg00132.html
|
|
#
|
|
# Status:
|
|
#
|
|
# fixed in gcc >= 3.3.5
|
|
# backport of gcc-3.3.5 fix
|
|
#
|
|
diff -ruN gcc-2.95.3-orig/configure gcc-2.95.3/configure
|
|
--- gcc-2.95.3-orig/configure 1999-04-02 16:17:40.000000000 +0200
|
|
+++ gcc-2.95.3/configure 2005-04-20 18:25:45.030488235 +0200
|
|
@@ -687,7 +687,7 @@
|
|
if test -f skip-this-dir; then
|
|
# Perform the same cleanup as the trap handler, minus the "exit 1" of course,
|
|
# and reset the trap handler.
|
|
- trap 0
|
|
+ trap '' 0
|
|
rm -f Makefile* ${tmpfile}.com ${tmpfile}.tgt ${tmpfile}.hst ${tmpfile}.pos
|
|
# Execute the final clean-up actions
|
|
${config_shell} skip-this-dir
|
|
@@ -1599,7 +1599,7 @@
|
|
# Perform the same cleanup as the trap handler, minus the "exit 1" of course,
|
|
# and reset the trap handler.
|
|
rm -f ${tmpfile}.com ${tmpfile}.tgt ${tmpfile}.hst ${tmpfile}.pos
|
|
-trap 0
|
|
+trap '' 0
|
|
|
|
exit 0
|
|
|