Skip to content

Commit

Permalink
compiler.txt: ensure file exists before comparison (qmk#18921)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored and ramonimbao committed Nov 28, 2022
1 parent 999f75f commit b07d960
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builddefs/common_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ $1/asflags.txt: $1/force
echo '$$($1_ASFLAGS)' | cmp -s - $$@ || echo '$$($1_ASFLAGS)' > $$@

$1/compiler.txt: $1/force
test -f $$@ || touch $$@
$$(CC) --version | cmp -s - $$@ || $$(CC) --version > $$@
endef

Expand Down

0 comments on commit b07d960

Please sign in to comment.