shared/parser: use compileUnaryCallback

This commit is contained in:
William Woodruff 2021-02-18 11:41:46 -05:00
parent 58e909d35e
commit 2607b2c9f0
No known key found for this signature in database
GPG Key ID: 70F70A3979DDCED3

View File

@ -177,8 +177,8 @@ func Parse(argList []string) ParserResult {
"--version": {0, pr.compileOnlyCallback},
"-v": {0, pr.compileOnlyCallback},
// "-w": {0, pr.compileOnlyCallback},
// "-W": {0, pr.compileOnlyCallback},
"-w": {0, pr.compileUnaryCallback},
"-W": {0, pr.compileUnaryCallback},
"-emit-llvm": {0, pr.emitLLVMCallback},
"-flto": {0, pr.linkTimeOptimizationCallback},