Commit d8b0d25a authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

fix checko2 rule

git-svn-id: file:///svn/toku/tokudb.1032b@8281 c7de825b-a66e-492c-adef-691d508d4ae1
parent da3a9e14
......@@ -102,11 +102,11 @@ check: bins
%$(BINSUF): $(NEWBRT) $(LIBPORTABILITY)
checko2:
ifeq ($(OPTFLAGS),-O3)
@echo OPTFLAGS=$(OPTFLAGS) ok
else
@echo OPTFLAGS=$(OPTFLAGS) bad; exit 1
endif
if [[ "$(OPTFLAGS)" =~ "-O([2-3])" ]] ; then \
echo OPTFLAGS=$(OPTFLAGS) ok; \
else \
echo OPTFLAGS=$(OPTFLAGS) bad; exit 1; \
fi
clean: clean-local clean-tests
clean-tests:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment