pkgsrc/devel/sdcc/patches/patch-ai
2001-05-03 22:03:31 +00:00

21 lines
751 B
Text

$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