The way to accomplish this is to remove assert from the implementation of Tahoe-LAFS since removing assert is primarily (solely?) the consequence of -O.