From fd7d7d8ea3e14f900642ae2730e2fe3eadc47ab2 Mon Sep 17 00:00:00 2001 From: Brad Lassey Date: Mon, 9 Feb 2009 19:00:24 -0500 Subject: [PATCH] bug 477678 - Windows CE builds should target ARMv6 r=dougt --- build/wince/tools/arm-wince-as.c | 1 + build/wince/tools/arm-wince-gcc.c | 1 + 2 files changed, 2 insertions(+) diff --git a/build/wince/tools/arm-wince-as.c b/build/wince/tools/arm-wince-as.c index aab2ed3aa158..748e38377d8b 100644 --- a/build/wince/tools/arm-wince-as.c +++ b/build/wince/tools/arm-wince-as.c @@ -8,6 +8,7 @@ main(int argc, char **argv) args[i++] = ASM_PATH; args[i++] = "-I\"" WCE_INC "\""; + args[i++] = "-CPU ARM1136"; // we target ARM 11 and newer i += argpath_conv(&argv[1], &args[i]); diff --git a/build/wince/tools/arm-wince-gcc.c b/build/wince/tools/arm-wince-gcc.c index 7a70ab964635..5fc7ea608cb1 100644 --- a/build/wince/tools/arm-wince-gcc.c +++ b/build/wince/tools/arm-wince-gcc.c @@ -30,6 +30,7 @@ main(int argc, char **argv) args[i++] = "/D_WINDOWS"; args[i++] = "/DNO_ERRNO"; + args[i++] = "/QRarch6"; args[i++] = "/Zc:wchar_t-"; // args[i++] = "/GS-"; // disable security checks args[i++] = "/GR-"; // disable C++ RTTI