summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
Diffstat (limited to 'scons')
-rw-r--r--scons/gallium.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 62030f0ab7b..75225c97c71 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -338,6 +338,7 @@ def generate(env):
if platform == 'wince':
# See also C:\WINCE600\public\common\oak\misc\makefile.def
cflags += [
+ '/Zl', # omit default library name in .OBJ
'/GF', # enable read-only string pooling
'/GR-', # disable C++ RTTI
'/GS', # enable security checks
@@ -400,6 +401,13 @@ def generate(env):
'/entry:DrvEnableDriver',
]
+ if platform == 'wince':
+ linkflags += [
+ '/nodefaultlib',
+# '/incremental:no',
+# '/fullbuild',
+ '/entry:_DllMainCRTStartup',
+ ]
if env['profile']:
linkflags += [
'/MAP', # http://msdn.microsoft.com/en-us/library/k7xkk3e2.aspx