Set different arguments for gcc3.x.x and gcc4.x.x. Suppress pointer-sign warning in gcc4.x.x.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1221 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
wuyizhong
2006-08-09 03:14:51 +00:00
parent caf9538f28
commit 205437772a
17 changed files with 45 additions and 20 deletions

View File

@@ -62,7 +62,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outtype="static"
debug="true"
optimize="speed">
<compilerarg value="${ExtraArgus}" />
<compilerarg value="${ExtraArgus}" if="ExtraArgus" />
<compilerarg value="-fshort-wchar" if="gcc"/>
<fileset dir="${basedir}/${LibName}"