Correct incompatible flag checks (support for -s).
Correct incompatible flag checks (support for -s).

nandub/ldid,nandub/ldid,songchenwen/ldid,tpoechtrager/ldid,nandub/ldid,songchenwen/ldid,tpoechtrager/ldid,tpoechtrager/ldid,songchenwen/ldid