From 4a08b52bd817b648a5eadee2b9cb179561587329 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Thu, 15 Apr 2021 16:49:14 +0200 Subject: vala: Add Profile.LIBC as synonym for POSIX and accept "libc" profile --- compiler/valacompiler.vala | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler') 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); } -- cgit v1.2.1