Lines Matching refs:success
14 # $(if-success,<command>,<then>,<else>)
16 if-success = $(shell,{ $(1); } >/dev/null 2>&1 && echo "$(2)" || echo "$(3)")
18 # $(success,<command>)
20 success = $(if-success,$(1),y,n)
24 failure = $(if-success,$(1),n,y)
28 cc-option = $(success,trap "rm -rf .tmp_$$" EXIT; mkdir .tmp_$$; $(CC) -Werror $(CLANG_FLAGS) $(1) …
32 ld-option = $(success,$(LD) -v $(1))
36 as-instr = $(success,printf "%b\n" "$(1)" | $(CC) $(CLANG_FLAGS) -c -x assembler-with-cpp -o /dev/n…
44 $(error-if,$(success,test -z "$(cc-info)"),Sorry$(comma) this C compiler is not supported.)
50 $(error-if,$(success,test -z "$(as-info)"),Sorry$(comma) this assembler is not supported.)
56 $(error-if,$(success,test -z "$(ld-info)"),Sorry$(comma) this linker is not supported.)
63 cc-option-bit = $(if-success,$(CC) -Werror $(1) -E -x c /dev/null -o /dev/null,$(1))