summaryrefslogtreecommitdiff
path: root/devel/sdcc/patches/patch-ai
blob: ae647117af023b383d21ef33db6572048aadd2ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ai,v 1.3 2001/05/03 22:03:31 dmcmahill Exp $

a bug with -ggdb on powerpc was tickled by some of the code for ucsim
so don't use it on that platform.

--- sim/ucsim/configure.orig	Fri Sep 29 15:59:12 2000
+++ sim/ucsim/configure	Thu May  3 11:01:54 2001
@@ -813,5 +813,5 @@
 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
 echo "configure:815: 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
@@ -2292,5 +2292,5 @@
 EOF
 $CXX -v -ggdb -c _test_.c 1>&5 2>&5
-if test "$?" = "0"; then
+if test "$?" = "0" -a "$MACHINE_ARCH" != "powerpc"; then
   s51_cv_CXXggdb="yes"
 else