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

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


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