Remove warning message in MAC GCC tool build

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1212 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
wuyizhong 2006-08-08 06:16:49 +00:00
parent 1a809263b7
commit 9776330c42
20 changed files with 25 additions and 16 deletions

View File

@ -39,7 +39,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${LIB_DIR}/CommonTools"
outtype="static"
optimize="speed">
<compilerarg value="${ExtraArgus}" />
<compilerarg value="-fPIC" if="x86_64_linux"/>
<includepath path="${PACKAGE_DIR}/Include"/>

View File

@ -44,6 +44,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${LibName}"
outputfileproperty="result"
>
<compilerarg value="${ExtraArgus}" />
<fileset dir="${LibName}" includes="${LibFileSet}" defaultexcludes="TRUE" excludes="*.xml *.inf"/>
<includepath path="${PACKAGE_DIR}/Include"/>
<includepath path="${PACKAGE_DIR}/Include/${HostArch}"/>

View File

@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${ToolName}"
outtype="executable"
debug="false">
<compilerarg value="${ExtraArgus}" />
<fileset dir="${basedir}/${ToolName}"
includes="${FileSet}"
defaultexcludes="TRUE"

View File

@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${ToolName}"
outtype="executable"
debug="false">
<compilerarg value="${ExtraArgus}" />
<fileset dir="${basedir}/${ToolName}"
includes="${FileSet}"
defaultexcludes="TRUE"

View File

@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${ToolName}"
outtype="executable"
debug="false">
<compilerarg value="${ExtraArgus}" />
<defineset>
<define name="_malloc" value="malloc"/>
<define name="_free" value="free"/>

View File

@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${ToolName}"
outtype="executable"
optimize="speed">
<compilerarg value="${ExtraArgus}" />
<fileset dir="${basedir}/${ToolName}"
includes="${FileSet}"
defaultexcludes="TRUE"

View File

@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${ToolName}"
outtype="executable"
debug="false">
<compilerarg value="${ExtraArgus}" />
<fileset dir="${basedir}/${ToolName}"
includes="${FileSet}"
defaultexcludes="TRUE"

View File

@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${ToolName}"
outtype="executable"
debug="false">
<compilerarg value="${ExtraArgus}" />
<fileset dir="${basedir}/${ToolName}"
includes="${FileSet}"
defaultexcludes="TRUE"

View File

@ -209,7 +209,7 @@ EFI_STATUS
GenerateDependencyExpression (
IN FILE *InFile,
IN OUT FILE *OutFile,
IN UINT8 Padding OPTIONAL
IN INT8 Padding OPTIONAL
)
/*++

View File

@ -39,7 +39,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outtype="executable"
debug="false"
optimize="speed">
<compilerarg value="${ExtraArgus}" />
<fileset dir="${basedir}/${ToolName}"
includes="${FileSet}" />

View File

@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${ToolName}"
outtype="executable"
optimize="speed">
<compilerarg value="${ExtraArgus}" />
<fileset dir="${basedir}/${ToolName}"
includes="${FileSet}"
defaultexcludes="TRUE"

View File

@ -80,6 +80,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${ToolName}"
outtype="executable"
optimize="speed">
<compilerarg value="${ExtraArgus}" />
<defineset>
<define name="BUILDING_TOOLS"/>

View File

@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${ToolName}"
outtype="executable"
optimize="speed">
<compilerarg value="${ExtraArgus}" />
<fileset dir="${basedir}/${ToolName}"
includes="${FileSet}"
defaultexcludes="TRUE"

View File

@ -39,6 +39,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${ToolName}"
outtype="executable"
optimize="speed">
<compilerarg value="${ExtraArgus}" />
<fileset dir="${basedir}/${ToolName}"
includes="${FileSet}"

View File

@ -38,7 +38,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${ToolName}"
outtype="executable"
optimize="speed">
<compilerarg value="${ExtraArgus}" />
<fileset dir="${basedir}/${ToolName}"
includes="${FileSet}"
defaultexcludes="TRUE"

View File

@ -40,7 +40,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${ToolName}_Ia32"
outtype="executable"
optimize="speed">
<compilerarg value="${ExtraArgus}" />
<fileset dir="${basedir}/${ToolName}"
includes="${FileSet}"/>
@ -56,7 +56,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${ToolName}_Ipf"
outtype="executable"
optimize="speed">
<compilerarg value="${ExtraArgus}" />
<fileset dir="${basedir}/${ToolName}"
includes="${FileSet}"/>
@ -72,7 +72,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
outfile="${BIN_DIR}/${ToolName}_X64"
outtype="executable"
optimize="speed">
<compilerarg value="${ExtraArgus}" />
<fileset dir="${basedir}/${ToolName}"
includes="${FileSet}" />

View File

@ -24,6 +24,8 @@ Abstract:
#include <Common/UefiBaseTypes.h>
#include <string.h>
#include "CommonLib.h"
/**

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="-fshort-wchar" if="gcc"/>
<fileset dir="${basedir}/${LibName}"

View File

@ -23,6 +23,7 @@ Abstract:
#include <stdio.h>
#include <memory.h>
#include <string.h>
#include <stdlib.h>
int
main (

View File

@ -94,10 +94,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<isset property="env.TOOL_CHAIN" />
<then>
<property name="ToolChain" value="${env.TOOL_CHAIN}"/>
<property name="ExtraArgus" value="-Wno-pointer-sign" />
</then>
<else>
<!-- Default Tool Chain is Microsoft Visual Studio -->
<property name="ToolChain" value="msvc"/>
<property name="ExtraArgus" value="" />
</else>
</if>
</then>