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

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


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 4360677943e62267b8e189c7a175310098cf86cf
      https://github.com/OSGeo/grass/commit/4360677943e62267b8e189c7a175310098cf86cf
  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