projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
303633a
)
src/Palete/ValaSourceCompiler.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 27 May 2016 02:56:57 +0000
(10:56 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 27 May 2016 02:56:57 +0000
(10:56 +0800)
src/Palete/ValaSourceCompiler.vala
patch
|
blob
|
history
diff --git
a/src/Palete/ValaSourceCompiler.vala
b/src/Palete/ValaSourceCompiler.vala
index
eb042af
..
818a127
100644
(file)
--- a/
src/Palete/ValaSourceCompiler.vala
+++ b/
src/Palete/ValaSourceCompiler.vala
@@
-227,7
+227,9
@@
namespace Palete {
context.experimental = false;
context.experimental_non_null = false;
-#if VALA_0_30
+#if VALA_0_32
+ var ver=32;
+#elif VALA_0_30
var ver=30;
#elif VALA_0_28
var ver=28;
@@
-419,8
+421,8
@@
namespace Palete {
var cc_command = Environment.get_variable ("CC");
- string [] cc_options = { "-lm" };
- valac += " -X -lm";
+ string [] cc_options = { "-lm"
, "-pg"
};
+ valac += " -X -lm
-X -pg
";
#if VALA_0_28 || VALA_0_30
var pkg_config_command = Environment.get_variable ("PKG_CONFIG");