Optimize for space on embedded WCE. [from HEAD]
authorAndy Polyakov <appro@openssl.org>
Tue, 2 Aug 2005 14:11:04 +0000 (14:11 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 2 Aug 2005 14:11:04 +0000 (14:11 +0000)
util/pl/VC-32.pl

index 3276525c8550d2ae5639cc454d1ec0ccc29a8c36..1fa7ad19f1a25b6bb0a081a8353699eb39301a87 100644 (file)
@@ -51,9 +51,9 @@ elsif ($FLAVOR =~ /CE/)
     $wcecdefs .= " -DWCE_PLATFORM_$wceplatf";
 
     $cc='$(CC)';
-    $base_cflags=' /W3 /WX /Gs0 /GF /Gy /nologo -DUNICODE -D_UNICODE -DOPENSSL_SYSNAME_WINCE -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DNO_CHMOD -I$(WCECOMPAT)/include';
+    $base_cflags=' /W3 /WX /Gs0 /GF /Gy /nologo -DUNICODE -D_UNICODE -DOPENSSL_SYSNAME_WINCE -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DNO_CHMOD -I$(WCECOMPAT)/include -DOPENSSL_SMALL_FOOTPRINT';
     $base_cflags.=" $wcecdefs";
-    $opt_cflags=' /MD /Ox /O2 /Ob2';
+    $opt_cflags=' /MD /O1i';   # optimize for space, but with intrinsics...
     $dbg_clfags=' /MDd /Od -DDEBUG -D_DEBUG';
     $lflags="/nologo /opt:ref $wcelflag";
     }