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

index 3276525..1fa7ad1 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";
     }