Commit 2a879690 authored by Yoni Fogel's avatar Yoni Fogel

Addresses #1531 fix newbrt/ make checko2 in windows

git-svn-id: file:///svn/toku/tokudb@9961 c7de825b-a66e-492c-adef-691d508d4ae1
parent a1d76f44
......@@ -110,8 +110,9 @@ check: bins
%$(BINSUF): $(NEWBRT) $(LIBPORTABILITY)
checko2: SHELL=/bin/bash
checko2:
@if [[ "$(OPTFLAGS)" =~ "-O([2-3])" ]] ; then \
@shopt -s compat31; if [[ "$(OPTFLAGS)" =~ "-O([2-3x])" ]] ; then \
echo OPTFLAGS=$(OPTFLAGS) ok; \
else \
echo OPTFLAGS=$(OPTFLAGS) bad; exit 1; \
......
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