Author: carnold
Date: Wed Jun 20 17:24:05 2007
New Revision: 549302
URL: http://svn.apache.org/viewvc?view=rev&rev=549302
Log:
Bug 37930: Reduce size of cross-compiled DLL
Modified:
logging/log4j/branches/v1_2-branch/src/ntdll/build.xml
Modified: logging/log4j/branches/v1_2-branch/src/ntdll/build.xml
URL:
http://svn.apache.org/viewvc/logging/log4j/branches/v1_2-branch/src/ntdll/build.xml?view=diff&rev=549302&r1=549301&r2=549302
==============================================================================
--- logging/log4j/branches/v1_2-branch/src/ntdll/build.xml (original)
+++ logging/log4j/branches/v1_2-branch/src/ntdll/build.xml Wed Jun 20 17:24:05
2007
@@ -71,6 +71,9 @@
<arg value="-Wall"/>
<arg value="-D_JNI_IMPLEMENTATION_"/>
<arg value="-Wl,--kill-at"/>
+ <arg value="-fno-rtti"/>
+ <arg value="-fno-exceptions"/>
+ <arg value="-s"/>
<arg value="-I${jni.win32.include.dir}"/>
<arg value="-I${jni.include.dir}"/>
<arg value="-I${object.dir}"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]