From: Brian Date: Thu, 25 Oct 2007 17:10:10 +0000 (-0600) Subject: simplify/fix the ASM_FLAGS tests (bug 12931) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6dcf65ff0d6fcea9c7e3ae51d51eac6f9a030e47;p=mesa.git simplify/fix the ASM_FLAGS tests (bug 12931) --- diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 3722593f21b..8e35efb7dca 100644 --- a/src/mesa/Makefile +++ b/src/mesa/Makefile @@ -153,10 +153,10 @@ depend: $(ALL_SOURCES) subdirs: - @ if [ `echo $(ASM_FLAGS) | grep USE_X86_ASM` ] ; then \ + @ if echo $(ASM_FLAGS) | grep USE_X86_ASM ; then \ (cd x86 ; $(MAKE)) ; \ fi - @ if [ `echo $(ASM_FLAGS) | grep USE_X86_64_ASM` ] ; then \ + @ if echo $(ASM_FLAGS) | grep USE_X86_64_ASM ; then \ (cd x86 ; $(MAKE)) ; \ (cd x86-64 ; $(MAKE)) ; \ fi