mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
use grep -q
This commit is contained in:
parent
0e2103689e
commit
9af5153410
1 changed files with 2 additions and 2 deletions
|
|
@ -154,10 +154,10 @@ depend: $(ALL_SOURCES)
|
|||
|
||||
|
||||
subdirs:
|
||||
@ if echo $(ASM_FLAGS) | grep USE_X86_ASM ; then \
|
||||
@ if echo "$(ASM_FLAGS)" | grep -q USE_X86_ASM ; then \
|
||||
(cd x86 ; $(MAKE)) ; \
|
||||
fi
|
||||
@ if echo $(ASM_FLAGS) | grep USE_X86_64_ASM ; then \
|
||||
@ if echo "$(ASM_FLAGS)" | grep -q USE_X86_64_ASM ; then \
|
||||
(cd x86 ; $(MAKE)) ; \
|
||||
(cd x86-64 ; $(MAKE)) ; \
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue