Skip to content

Commit

Permalink
Make Makefile portable between make 4.2 and 4.3.
Browse files Browse the repository at this point in the history
See https://lists.gnu.org/archive/html/bug-make/2020-01/msg00057.html
for an explanation and the recommended workaround.
  • Loading branch information
Andreas Fried committed Apr 29, 2020
1 parent b5aab0a commit 8ec1a76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ REVISION ?= $(shell git --git-dir $(top_srcdir)/.git describe --abbrev=40 --alwa
SELFCHECK_FLAGS ?= -Wall -Wno-shadow -Werror

# Update revision.h if necessary
HASH := \#
UNUSED := $(shell \
REV="\#define cparser_REVISION \"$(REVISION)\""; \
REV="$(HASH)define cparser_REVISION \"$(REVISION)\""; \
echo "$$REV" | cmp -s - $(REVISIONH) 2> /dev/null || echo "$$REV" > $(REVISIONH) \
)
# determine if we can use "cparser-beta" as quickcheck
Expand Down
2 changes: 1 addition & 1 deletion libfirm
Submodule libfirm updated from f9a9fc to b7f2ed

0 comments on commit 8ec1a76

Please sign in to comment.