diff --git a/shared/parser.go b/shared/parser.go index 0fdf682..5b691fa 100644 --- a/shared/parser.go +++ b/shared/parser.go @@ -402,6 +402,8 @@ func Parse(argList []string) ParserResult { {`^.+\.(o|lo|So|so|po|a|dylib|pico|nossppico)$`, flagInfo{0, pr.objectFileCallback}}, //iam: pico and nossppico are FreeBSD {`^.+\.dylib(\.\d)+$`, flagInfo{0, pr.objectFileCallback}}, {`^.+\.(So|so)(\.\d)+$`, flagInfo{0, pr.objectFileCallback}}, + + {`^--target=.+$`, flagInfo{0, pr.compileLinkUnaryCallback}}, } for len(argList) > 0 {