From: zooko Date: Thu, 11 Sep 2008 20:06:42 +0000 (+0530) Subject: setup: fix another bug in the "build with a specific stride size" feature X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/flags/cyclelanguage?a=commitdiff_plain;h=040c550c2dfa8b4b13e2a044b599236d236071ae;p=tahoe-lafs%2Fzfec.git setup: fix another bug in the "build with a specific stride size" feature darcs-hash:648b2922fc8593e4ab6efb0c0e57796be0ea6a9d --- diff --git a/zfec/setup.py b/zfec/setup.py index c4159de..8d86f2f 100755 --- a/zfec/setup.py +++ b/zfec/setup.py @@ -41,11 +41,9 @@ for arg in sys.argv: if arg.startswith("--stride="): stride = int(arg[len("--stride="):]) define_macros.append(('STRIDE', stride)) + sys.argv.remove(arg) break -sys.argv.remove(arg) - - if DEBUGMODE: extra_compile_args.append("-O0") extra_compile_args.append("-g")