summaryrefslogtreecommitdiff
path: root/devel/sdcc/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'devel/sdcc/patches/patch-ac')
-rw-r--r--devel/sdcc/patches/patch-ac18
1 files changed, 13 insertions, 5 deletions
diff --git a/devel/sdcc/patches/patch-ac b/devel/sdcc/patches/patch-ac
index dc28591fbc5..4f214976216 100644
--- a/devel/sdcc/patches/patch-ac
+++ b/devel/sdcc/patches/patch-ac
@@ -1,13 +1,21 @@
-$NetBSD: patch-ac,v 1.3 2001/04/23 17:33:06 wulf Exp $
+$NetBSD: patch-ac,v 1.4 2001/05/03 22:03:31 dmcmahill Exp $
---- configure.orig Mon Apr 9 20:25:23 2001
-+++ configure Mon Apr 9 20:25:58 2001
-@@ -1083,7 +1083,7 @@
- # ./install, which can be erroneously created by make from ./install.sh.
+a bug with -ggdb on powerpc was tickled by some of the code for ucsim
+so don't use it on that platform.
+
+--- configure.orig Sat Sep 30 17:37:31 2000
++++ configure Thu May 3 15:06:17 2001
+@@ -1084,5 +1084,5 @@
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:1086: checking for a BSD compatible install" >&5
-if test -z "$INSTALL"; then
+if true; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
+@@ -2324,5 +2324,5 @@
+ EOF
+ $CC -v -ggdb -c _test_.c 1>&5 2>&5
+-if test "$?" = "0"; then
++if test "$?" = "0" -a "$MACHINE_ARCH" != "powerpc" ; then
+ sdcc_cv_CCggdb="yes"
else