Makefile.def (module=gmp): Work around in-tree gmp configure bug with missing flex.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 24 Nov 2014 16:55:01 +0000 (16:55 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Mon, 24 Nov 2014 16:55:01 +0000 (16:55 +0000)
2014-11-24  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * Makefile.def (module=gmp): Work around in-tree gmp configure bug with
        missing flex.
        * Makefile.in: Regenerated.

From-SVN: r218025

ChangeLog
Makefile.def
Makefile.in

index 8fe60c70c69d6d0933c55d249111622b88307c9b..6dd71f13ea9d51c92ae8e6086c6d4608a18474f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-11-24  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * Makefile.def (module=gmp): Work around in-tree gmp configure bug with
+       missing flex.
+       * Makefile.in: Regenerated.
+
 2014-11-21  Ilya Verbin  <ilya.verbin@intel.com>
 
        * Makefile.in: Regenerate.
index 40bbca9c3a9742fc073c6c4bcc8f6a5b073fb5cf..ddcbf5bb1c5c0721b44bff0c0e23d7d360e812f9 100644 (file)
@@ -48,7 +48,8 @@ host_modules= { module= gas; bootstrap=true; };
 host_modules= { module= gcc; bootstrap=true; 
                extra_make_flags="$(EXTRA_GCC_FLAGS)"; };
 host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
-               extra_configure_flags='--disable-shared';
+               // Work around in-tree gmp configure bug with missing flex.
+               extra_configure_flags='--disable-shared LEX="touch lex.yy.c"';
                no_install= true;
                // none-*-* disables asm optimizations, bootstrap-testing
                // the compiler more thoroughly.
index 0bae570335ffe0f277ec0bd2ee2187474b8f983c..02d914c57617d3a483226667ac1a896b308c59d7 100644 (file)
@@ -10986,7 +10986,7 @@ configure-gmp:
          $$s/$$module_srcdir/configure \
          --srcdir=$${topdir}/$$module_srcdir \
          $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
-         --target=none-${host_vendor}-${host_os} --disable-shared \
+         --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
          || exit 1
 @endif gmp
 
@@ -11022,7 +11022,7 @@ configure-stage1-gmp:
          --target=none-${host_vendor}-${host_os} \
           \
          $(STAGE1_CONFIGURE_FLAGS) \
-         --disable-shared
+         --disable-shared LEX="touch lex.yy.c"
 @endif gmp-bootstrap
 
 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
@@ -11056,7 +11056,7 @@ configure-stage2-gmp:
          --target=none-${host_vendor}-${host_os} \
           --with-build-libsubdir=$(HOST_SUBDIR)  \
          $(STAGE2_CONFIGURE_FLAGS) \
-         --disable-shared
+         --disable-shared LEX="touch lex.yy.c"
 @endif gmp-bootstrap
 
 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
@@ -11090,7 +11090,7 @@ configure-stage3-gmp:
          --target=none-${host_vendor}-${host_os} \
           --with-build-libsubdir=$(HOST_SUBDIR)  \
          $(STAGE3_CONFIGURE_FLAGS) \
-         --disable-shared
+         --disable-shared LEX="touch lex.yy.c"
 @endif gmp-bootstrap
 
 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
@@ -11124,7 +11124,7 @@ configure-stage4-gmp:
          --target=none-${host_vendor}-${host_os} \
           --with-build-libsubdir=$(HOST_SUBDIR)  \
          $(STAGE4_CONFIGURE_FLAGS) \
-         --disable-shared
+         --disable-shared LEX="touch lex.yy.c"
 @endif gmp-bootstrap
 
 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
@@ -11158,7 +11158,7 @@ configure-stageprofile-gmp:
          --target=none-${host_vendor}-${host_os} \
           --with-build-libsubdir=$(HOST_SUBDIR)  \
          $(STAGEprofile_CONFIGURE_FLAGS) \
-         --disable-shared
+         --disable-shared LEX="touch lex.yy.c"
 @endif gmp-bootstrap
 
 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
@@ -11192,7 +11192,7 @@ configure-stagefeedback-gmp:
          --target=none-${host_vendor}-${host_os} \
           --with-build-libsubdir=$(HOST_SUBDIR)  \
          $(STAGEfeedback_CONFIGURE_FLAGS) \
-         --disable-shared
+         --disable-shared LEX="touch lex.yy.c"
 @endif gmp-bootstrap