Commit 8dc0e47f authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

shake: Ignore SRC_RUNTEST_OPTS

Otherwise -binary-stdout gets passed to the test.
parent ce0a64b2
...@@ -357,8 +357,7 @@ convertConfig xs = ...@@ -357,8 +357,7 @@ convertConfig xs =
| x <- xs | x <- xs
, let (a,b) = separate x, a `elem` keep , let (a,b) = separate x, a `elem` keep
] ]
keep = words "PROG_ARGS SRC_HC_OPTS SRC_RUNTEST_OPTS SLOW_OPTS NORM_OPTS FAST_OPTS STDIN_FILE" keep = words "PROG_ARGS SRC_HC_OPTS SLOW_OPTS NORM_OPTS FAST_OPTS STDIN_FILE"
remap "SRC_RUNTEST_OPTS" = "PROG_ARGS"
remap x = x remap x = x
separate x = (name,rest) separate x = (name,rest)
......
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