summaryrefslogtreecommitdiffstats
path: root/am/cmacros.am
diff options
context:
space:
mode:
Diffstat (limited to 'am/cmacros.am')
-rw-r--r--am/cmacros.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/am/cmacros.am b/am/cmacros.am
index 6668b2558..da34eb7ed 100644
--- a/am/cmacros.am
+++ b/am/cmacros.am
@@ -54,11 +54,15 @@ endif
# Under Windows we use LockFileEx. WindowsCE provides this only on
# the WindowsMobile 6 platform and thus we need to use the coredll6
-# import library.
+# import library. We also want to use a stacksize of 256k instead of
+# the 2MB which is the default with cegcc. 256k is the largest stack
+# we use with pth.
if HAVE_W32CE_SYSTEM
extra_sys_libs = -lcoredll6
+extra_bin_ldflags = -Wl,--stack=0x40000
else
extra_sys_libs =
+extra_bin_ldflags =
endif