aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/lang.opt
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go/lang.opt')
-rw-r--r--gcc/go/lang.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/go/lang.opt b/gcc/go/lang.opt
index eb9ed9a63a0..22197a71e3d 100644
--- a/gcc/go/lang.opt
+++ b/gcc/go/lang.opt
@@ -61,6 +61,10 @@ fgo-prefix=
Go Joined RejectNegative
-fgo-prefix=<string> Set package-specific prefix for exported Go names
+fgo-relative-import-path=
+Go Joined RejectNegative
+-fgo-relative-import-path=<path> Treat a relative import as relative to path
+
frequire-return-statement
Go Var(go_require_return_statement) Init(1) Warning
Functions which return values must end with return statements