summaryrefslogtreecommitdiff
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorJonathan White <jwhite@tungstengraphics.com>2008-07-16 16:10:57 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-07-16 16:11:38 -0600
commite4f3770690129dc1ea683fadbe07f1fbc49cf271 (patch)
tree1a4e8bf7daf0dbe6106c46c08fbdc7f07defbf89 /scons/gallium.py
parentab8f838060c7d30b8b18cac600c4b1d97ecf3f6c (diff)
mesa: WinCE fixes
Diffstat (limited to 'scons/gallium.py')
-rw-r--r--scons/gallium.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 62030f0ab7..75225c97c7 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