mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
- invert logic for nocheck_targets to exclude the empty default target.
This commit is contained in:
parent
e5de38497a
commit
081b1ac6b4
@ -115,7 +115,7 @@ check_cc=$(shell \
|
|||||||
rm -f conftest.c conftest.o; \
|
rm -f conftest.c conftest.o; \
|
||||||
fi)
|
fi)
|
||||||
|
|
||||||
ifeq ($(filter-out $(nocheck_targets),$(MAKECMDGOALS)),)
|
ifneq ($(filter $(nocheck_targets),$(MAKECMDGOALS)),)
|
||||||
check_cc:=
|
check_cc:=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -130,7 +130,7 @@ check_ld=$(shell \
|
|||||||
echo "-Wl,$(2)" ; \
|
echo "-Wl,$(2)" ; \
|
||||||
fi)
|
fi)
|
||||||
|
|
||||||
ifeq ($(filter-out $(nocheck_targets),$(MAKECMDGOALS)),)
|
ifneq ($(filter $(nocheck_targets),$(MAKECMDGOALS)),)
|
||||||
check_ld:=
|
check_ld:=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -148,7 +148,7 @@ check_strip=$(shell \
|
|||||||
rm -f conftest.c conftest.o > /dev/null 2>&1 ; \
|
rm -f conftest.c conftest.o > /dev/null 2>&1 ; \
|
||||||
fi)
|
fi)
|
||||||
|
|
||||||
ifeq ($(filter-out $(nocheck_targets),$(MAKECMDGOALS)),)
|
ifneq ($(filter $(nocheck_targets),$(MAKECMDGOALS)),)
|
||||||
check_strip:=
|
check_strip:=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user