From fcb34064524fa9f2f6da7cb895ae3bb39d2fdcbf Mon Sep 17 00:00:00 2001 From: "Ian A. Mason" Date: Mon, 11 Feb 2019 07:12:50 -0800 Subject: [PATCH] -fopenmp added as a link and compile flag. --- shared/parser.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shared/parser.go b/shared/parser.go index 61d939b..3033cc1 100644 --- a/shared/parser.go +++ b/shared/parser.go @@ -261,13 +261,14 @@ func parse(argList []string) parserResult { "-fprofile-arcs": {0, pr.compileLinkUnaryCallback}, "-coverage": {0, pr.compileLinkUnaryCallback}, "--coverage": {0, pr.compileLinkUnaryCallback}, + "-fopenmp": {0, pr.compileLinkUnaryCallback}, "-Wl,-dead_strip": {0, pr.warningLinkUnaryCallback}, "-dead_strip": {0, pr.warningLinkUnaryCallback}, //iam: tor does this. We lose the bitcode :-( } // iam: this is a list because matching needs to be done in order. - // if you add a NEW pattern; make sure it is befor any existing pattern that also + // if you add a NEW pattern; make sure it is before any existing pattern that also // matches and has a conflicting flagInfo value. var argPatterns = [...]argPattern{ {`^.+\.(c|cc|cpp|C|cxx|i|s|S|bc)$`, flagInfo{0, pr.inputFileCallback}},