bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fix binutils runtest command for dejagnu 1.4.2


From: John David Anglin
Subject: Fix binutils runtest command for dejagnu 1.4.2
Date: Fri, 23 Nov 2001 11:05:03 -0500 (EST)

In dejagnu-1.4.2, the runtest command no longer allows CC_FOR_TARGET and
CFLAGS_FOR_TARGET to be passed as arguments.  The following patch
rearranges the command to pass them in the environment.  Tested by
running the testsuite on hppa2.0w-hp-hpux11.00.

Dave
-- 
J. David Anglin                                  address@hidden
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2001-11-23  John David Anglin  <address@hidden>

        * binutils/Makefile.am (check-DEJAGNU): Pass CC_FOR_TARGET and
        CFLAGS_FOR_TARGET to runtest in environment.
        * Makefile.in: Rebuild.

--- Makefile.am.orig    Tue Oct 30 17:10:12 2001
+++ Makefile.am Fri Nov 23 10:20:47 2001
@@ -139,9 +139,9 @@
        fi; \
        runtest=$(RUNTEST); \
        if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
-         $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
-               CC_FOR_TARGET="$(CC_FOR_TARGET)" \
-               CFLAGS_FOR_TARGET="$(CFLAGS)" $(RUNTESTFLAGS); \
+         CC_FOR_TARGET="$(CC_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS)" \
+               $$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
+                       $(RUNTESTFLAGS); \
        else echo "WARNING: could not find \`runtest'" 1>&2; :;\
        fi
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]