From 040c550c2dfa8b4b13e2a044b599236d236071ae Mon Sep 17 00:00:00 2001 From: zooko Date: Fri, 12 Sep 2008 01:36:42 +0530 Subject: [PATCH] setup: fix another bug in the "build with a specific stride size" feature darcs-hash:648b2922fc8593e4ab6efb0c0e57796be0ea6a9d --- zfec/setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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") -- 2.45.2