[GRASS-git] [OSGeo/grass] c8be72: r.mapcalc: Add explicit dependency on mapcalc.tab....

Bernhard M. Wiedemann noreply at github.com
Thu Feb 15 00:12:34 PST 2024


  Branch: refs/heads/releasebranch_8_2
  Home:   https://github.com/OSGeo/grass
  Commit: c8be723042b38ea0e1c7a4f71d7108969e787e34
      https://github.com/OSGeo/grass/commit/c8be723042b38ea0e1c7a4f71d7108969e787e34
  Author: Bernhard M. Wiedemann <bwiedemann at suse.de>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M raster/r.mapcalc/Makefile

  Log Message:
  -----------
  r.mapcalc: Add explicit dependency on mapcalc.tab.h (#3415)

Add explicit dependency on mapcalc.tab.c to tell make that both .c and .h are needed
This allows for reproducible builds.

Without this change, r.mapcalc and r3.mapcalc
would be rebuilt a 2nd time in a make -j1 run
with slightly varied order of mapcalc.yy.o and mapcalc.tab.o

This might help improve #3406

This patch was done while working on reproducible builds for openSUSE.




More information about the grass-commit mailing list