summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2016-10-10 10:05:04 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2016-10-10 10:40:54 +0200
commit99aeafe607b29dcdc35b405641c4124595b4c7e6 (patch)
treecc21478b44924c3c15ab87c102f9f1abb2e18105 /compiler
parent30929232874f2f4e408bec33efba33ce2f064682 (diff)
downloadvala-99aeafe607b29dcdc35b405641c4124595b4c7e6.tar.gz
Ignore --thread commandline option and drop all gthread-2.0 references
With vala 0.32 there was no further support for glib < 2.32.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/valacompiler.vala3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala
index ccf5b76f3..38564fc93 100644
--- a/compiler/valacompiler.vala
+++ b/compiler/valacompiler.vala
@@ -124,7 +124,7 @@ class Vala.Compiler {
{ "compile", 'c', 0, OptionArg.NONE, ref compile_only, "Compile but do not link", null },
{ "output", 'o', 0, OptionArg.FILENAME, ref output, "Place output in file FILE", "FILE" },
{ "debug", 'g', 0, OptionArg.NONE, ref debug, "Produce debug information", null },
- { "thread", 0, 0, OptionArg.NONE, ref thread, "Enable multithreading support", null },
+ { "thread", 0, 0, OptionArg.NONE, ref thread, "Enable multithreading support (DEPRECATED AND IGNORED)", null },
{ "enable-mem-profiler", 0, 0, OptionArg.NONE, ref mem_profiler, "Enable GLib memory profiler", null },
{ "define", 'D', 0, OptionArg.STRING_ARRAY, ref defines, "Define SYMBOL", "SYMBOL..." },
{ "main", 0, 0, OptionArg.STRING, ref entry_point, "Use SYMBOL as entry point", "SYMBOL..." },
@@ -242,7 +242,6 @@ class Vala.Compiler {
context.gir_directories = gir_directories;
context.metadata_directories = metadata_directories;
context.debug = debug;
- context.thread = thread;
context.mem_profiler = mem_profiler;
context.save_temps = save_temps;
if (ccode_only && save_temps) {