mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
Build benchmarks with "-Wall -Werror"
This commit is contained in:
1 parent
95d02eed0a
commit
419d403257
1 file changed
+1
-4
+1
-4
@@ -95,11 +95,8 @@ func doBenchTest1(filename string, bench bool, ccompilers string, focus string,
|
||||
ccArgs := []string(nil)
|
||||
if bench {
|
||||
ccArgs = append(ccArgs, "-O3")
|
||||
} else {
|
||||
// TODO: set these flags even if we pass -O3.
|
||||
ccArgs = append(ccArgs, "-Wall", "-Werror")
|
||||
}
|
||||
ccArgs = append(ccArgs, "-std=c99", "-o", out, in)
|
||||
ccArgs = append(ccArgs, "-Wall", "-Werror", "-std=c99", "-o", out, in)
|
||||
if mimic {
|
||||
extra, err := findWuffsMimicCflags(in)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user