mirror of https://github.com/acidanthera/audk.git
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:
parent
1a809263b7
commit
9776330c42
|
@ -39,7 +39,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${LIB_DIR}/CommonTools"
|
outfile="${LIB_DIR}/CommonTools"
|
||||||
outtype="static"
|
outtype="static"
|
||||||
optimize="speed">
|
optimize="speed">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<compilerarg value="-fPIC" if="x86_64_linux"/>
|
<compilerarg value="-fPIC" if="x86_64_linux"/>
|
||||||
|
|
||||||
<includepath path="${PACKAGE_DIR}/Include"/>
|
<includepath path="${PACKAGE_DIR}/Include"/>
|
||||||
|
|
|
@ -44,6 +44,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${LibName}"
|
outfile="${BIN_DIR}/${LibName}"
|
||||||
outputfileproperty="result"
|
outputfileproperty="result"
|
||||||
>
|
>
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<fileset dir="${LibName}" includes="${LibFileSet}" defaultexcludes="TRUE" excludes="*.xml *.inf"/>
|
<fileset dir="${LibName}" includes="${LibFileSet}" defaultexcludes="TRUE" excludes="*.xml *.inf"/>
|
||||||
<includepath path="${PACKAGE_DIR}/Include"/>
|
<includepath path="${PACKAGE_DIR}/Include"/>
|
||||||
<includepath path="${PACKAGE_DIR}/Include/${HostArch}"/>
|
<includepath path="${PACKAGE_DIR}/Include/${HostArch}"/>
|
||||||
|
|
|
@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${ToolName}"
|
outfile="${BIN_DIR}/${ToolName}"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
debug="false">
|
debug="false">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<fileset dir="${basedir}/${ToolName}"
|
<fileset dir="${basedir}/${ToolName}"
|
||||||
includes="${FileSet}"
|
includes="${FileSet}"
|
||||||
defaultexcludes="TRUE"
|
defaultexcludes="TRUE"
|
||||||
|
|
|
@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${ToolName}"
|
outfile="${BIN_DIR}/${ToolName}"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
debug="false">
|
debug="false">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<fileset dir="${basedir}/${ToolName}"
|
<fileset dir="${basedir}/${ToolName}"
|
||||||
includes="${FileSet}"
|
includes="${FileSet}"
|
||||||
defaultexcludes="TRUE"
|
defaultexcludes="TRUE"
|
||||||
|
|
|
@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${ToolName}"
|
outfile="${BIN_DIR}/${ToolName}"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
debug="false">
|
debug="false">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<defineset>
|
<defineset>
|
||||||
<define name="_malloc" value="malloc"/>
|
<define name="_malloc" value="malloc"/>
|
||||||
<define name="_free" value="free"/>
|
<define name="_free" value="free"/>
|
||||||
|
|
|
@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${ToolName}"
|
outfile="${BIN_DIR}/${ToolName}"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
optimize="speed">
|
optimize="speed">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<fileset dir="${basedir}/${ToolName}"
|
<fileset dir="${basedir}/${ToolName}"
|
||||||
includes="${FileSet}"
|
includes="${FileSet}"
|
||||||
defaultexcludes="TRUE"
|
defaultexcludes="TRUE"
|
||||||
|
|
|
@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${ToolName}"
|
outfile="${BIN_DIR}/${ToolName}"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
debug="false">
|
debug="false">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<fileset dir="${basedir}/${ToolName}"
|
<fileset dir="${basedir}/${ToolName}"
|
||||||
includes="${FileSet}"
|
includes="${FileSet}"
|
||||||
defaultexcludes="TRUE"
|
defaultexcludes="TRUE"
|
||||||
|
|
|
@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${ToolName}"
|
outfile="${BIN_DIR}/${ToolName}"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
debug="false">
|
debug="false">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<fileset dir="${basedir}/${ToolName}"
|
<fileset dir="${basedir}/${ToolName}"
|
||||||
includes="${FileSet}"
|
includes="${FileSet}"
|
||||||
defaultexcludes="TRUE"
|
defaultexcludes="TRUE"
|
||||||
|
|
|
@ -209,7 +209,7 @@ EFI_STATUS
|
||||||
GenerateDependencyExpression (
|
GenerateDependencyExpression (
|
||||||
IN FILE *InFile,
|
IN FILE *InFile,
|
||||||
IN OUT FILE *OutFile,
|
IN OUT FILE *OutFile,
|
||||||
IN UINT8 Padding OPTIONAL
|
IN INT8 Padding OPTIONAL
|
||||||
)
|
)
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
debug="false"
|
debug="false"
|
||||||
optimize="speed">
|
optimize="speed">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<fileset dir="${basedir}/${ToolName}"
|
<fileset dir="${basedir}/${ToolName}"
|
||||||
includes="${FileSet}" />
|
includes="${FileSet}" />
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${ToolName}"
|
outfile="${BIN_DIR}/${ToolName}"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
optimize="speed">
|
optimize="speed">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<fileset dir="${basedir}/${ToolName}"
|
<fileset dir="${basedir}/${ToolName}"
|
||||||
includes="${FileSet}"
|
includes="${FileSet}"
|
||||||
defaultexcludes="TRUE"
|
defaultexcludes="TRUE"
|
||||||
|
|
|
@ -80,6 +80,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${ToolName}"
|
outfile="${BIN_DIR}/${ToolName}"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
optimize="speed">
|
optimize="speed">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
|
|
||||||
<defineset>
|
<defineset>
|
||||||
<define name="BUILDING_TOOLS"/>
|
<define name="BUILDING_TOOLS"/>
|
||||||
|
|
|
@ -38,7 +38,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${ToolName}"
|
outfile="${BIN_DIR}/${ToolName}"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
optimize="speed">
|
optimize="speed">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<fileset dir="${basedir}/${ToolName}"
|
<fileset dir="${basedir}/${ToolName}"
|
||||||
includes="${FileSet}"
|
includes="${FileSet}"
|
||||||
defaultexcludes="TRUE"
|
defaultexcludes="TRUE"
|
||||||
|
|
|
@ -39,6 +39,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${ToolName}"
|
outfile="${BIN_DIR}/${ToolName}"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
optimize="speed">
|
optimize="speed">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
|
|
||||||
<fileset dir="${basedir}/${ToolName}"
|
<fileset dir="${basedir}/${ToolName}"
|
||||||
includes="${FileSet}"
|
includes="${FileSet}"
|
||||||
|
|
|
@ -38,7 +38,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${ToolName}"
|
outfile="${BIN_DIR}/${ToolName}"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
optimize="speed">
|
optimize="speed">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
|
|
||||||
<fileset dir="${basedir}/${ToolName}"
|
<fileset dir="${basedir}/${ToolName}"
|
||||||
includes="${FileSet}"
|
includes="${FileSet}"
|
||||||
defaultexcludes="TRUE"
|
defaultexcludes="TRUE"
|
||||||
|
|
|
@ -40,7 +40,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${ToolName}_Ia32"
|
outfile="${BIN_DIR}/${ToolName}_Ia32"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
optimize="speed">
|
optimize="speed">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<fileset dir="${basedir}/${ToolName}"
|
<fileset dir="${basedir}/${ToolName}"
|
||||||
includes="${FileSet}"/>
|
includes="${FileSet}"/>
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${ToolName}_Ipf"
|
outfile="${BIN_DIR}/${ToolName}_Ipf"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
optimize="speed">
|
optimize="speed">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<fileset dir="${basedir}/${ToolName}"
|
<fileset dir="${basedir}/${ToolName}"
|
||||||
includes="${FileSet}"/>
|
includes="${FileSet}"/>
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outfile="${BIN_DIR}/${ToolName}_X64"
|
outfile="${BIN_DIR}/${ToolName}_X64"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
optimize="speed">
|
optimize="speed">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<fileset dir="${basedir}/${ToolName}"
|
<fileset dir="${basedir}/${ToolName}"
|
||||||
includes="${FileSet}" />
|
includes="${FileSet}" />
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,8 @@ Abstract:
|
||||||
|
|
||||||
#include <Common/UefiBaseTypes.h>
|
#include <Common/UefiBaseTypes.h>
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "CommonLib.h"
|
#include "CommonLib.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -62,7 +62,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
outtype="static"
|
outtype="static"
|
||||||
debug="true"
|
debug="true"
|
||||||
optimize="speed">
|
optimize="speed">
|
||||||
|
<compilerarg value="${ExtraArgus}" />
|
||||||
<compilerarg value="-fshort-wchar" if="gcc"/>
|
<compilerarg value="-fshort-wchar" if="gcc"/>
|
||||||
|
|
||||||
<fileset dir="${basedir}/${LibName}"
|
<fileset dir="${basedir}/${LibName}"
|
||||||
|
|
|
@ -23,6 +23,7 @@ Abstract:
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
main (
|
main (
|
||||||
|
|
|
@ -94,10 +94,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
<isset property="env.TOOL_CHAIN" />
|
<isset property="env.TOOL_CHAIN" />
|
||||||
<then>
|
<then>
|
||||||
<property name="ToolChain" value="${env.TOOL_CHAIN}"/>
|
<property name="ToolChain" value="${env.TOOL_CHAIN}"/>
|
||||||
|
<property name="ExtraArgus" value="-Wno-pointer-sign" />
|
||||||
</then>
|
</then>
|
||||||
<else>
|
<else>
|
||||||
<!-- Default Tool Chain is Microsoft Visual Studio -->
|
<!-- Default Tool Chain is Microsoft Visual Studio -->
|
||||||
<property name="ToolChain" value="msvc"/>
|
<property name="ToolChain" value="msvc"/>
|
||||||
|
<property name="ExtraArgus" value="" />
|
||||||
</else>
|
</else>
|
||||||
</if>
|
</if>
|
||||||
</then>
|
</then>
|
||||||
|
|
Loading…
Reference in New Issue