diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2021-04-15 16:49:14 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2021-04-15 16:49:14 +0200 |
commit | 4a08b52bd817b648a5eadee2b9cb179561587329 (patch) | |
tree | e23ce30f2e69820c1c46032440d2e72dc6d250a5 /compiler | |
parent | 5aa1911fa48bbb88b5db2d7075147e78d4b538c7 (diff) | |
download | vala-4a08b52bd817b648a5eadee2b9cb179561587329.tar.gz |
vala: Add Profile.LIBC as synonym for POSIX and accept "libc" profile
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/valacompiler.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala index 4cc7b2967..222e82d2e 100644 --- a/compiler/valacompiler.vala +++ b/compiler/valacompiler.vala @@ -185,6 +185,7 @@ class Vala.Compiler { case null: case "gobject-2.0": case "gobject": profile = Profile.GOBJECT; break; + case "libc": profile = Vala.Profile.LIBC; break; case "posix": profile = Profile.POSIX; break; default: throw new OptionError.FAILED ("Invalid --profile argument '%s'", val); } |