This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed]: Fix use of $GMPINC in plugin-support.exp


Le Chun noticed an erroneous use of $GMPINC in plugin-support.exp.
GMPINC already includes -I, so a second one is not needed.

Committed as obvious.


Diego.


        * lib/plugin-support.exp: Do not prefix $GMPINC with -I.

Index: testsuite/lib/plugin-support.exp
===================================================================
--- testsuite/lib/plugin-support.exp    (revision 147185)
+++ testsuite/lib/plugin-support.exp    (working copy)
@@ -82,7 +82,7 @@ proc plugin-test-execute { plugin_src pl
     set gcc_objdir "$objdir/../../.."
     set includes "-I. -I${srcdir} -I${gcc_srcdir}/gcc -I${gcc_objdir}/gcc \
                   -I${gcc_srcdir}/include -I${gcc_srcdir}/libcpp/include \
-                  -I$GMPINC"
+                  $GMPINC"

     set optstr "$includes $extra_flags -DIN_GCC -fPIC -shared"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]