summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-09-26 16:07:28 +0800
committerJohn Hodge <tpg@mutabah.net>2016-09-26 16:07:28 +0800
commited7739376e494ac4bd788cc9ec383dd645f7552b (patch)
tree035fa9cbc3f6e912bff69a134ae81163b4f91ed7 /src
parentcf0bc71ad1bd5a9bc1c9ee19305aec0e31641986 (diff)
downloadmrust-ed7739376e494ac4bd788cc9ec383dd645f7552b.tar.gz
main - Add `unix` flag to allow liblibc to compile
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8ee50aea..3e9e3f03 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -143,6 +143,7 @@ int main(int argc, char *argv[])
// Set up cfg values
// TODO: Target spec
+ Cfg_SetFlag("unix");
Cfg_SetFlag("linux");
Cfg_SetValue("target_pointer_width", "64");
Cfg_SetValue("target_endian", "little");