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"
|
||||
outtype="static"
|
||||
optimize="speed">
|
||||
|
||||
<compilerarg value="${ExtraArgus}" />
|
||||
<compilerarg value="-fPIC" if="x86_64_linux"/>
|
||||
|
||||
<includepath path="${PACKAGE_DIR}/Include"/>
|
||||
|
|
|
@ -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}"/>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"/>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -209,7 +209,7 @@ EFI_STATUS
|
|||
GenerateDependencyExpression (
|
||||
IN FILE *InFile,
|
||||
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"
|
||||
debug="false"
|
||||
optimize="speed">
|
||||
|
||||
<compilerarg value="${ExtraArgus}" />
|
||||
<fileset dir="${basedir}/${ToolName}"
|
||||
includes="${FileSet}" />
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"/>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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}"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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}" />
|
||||
|
||||
|
|
|
@ -24,6 +24,8 @@ Abstract:
|
|||
|
||||
#include <Common/UefiBaseTypes.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "CommonLib.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -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}"
|
||||
|
|
|
@ -23,6 +23,7 @@ Abstract:
|
|||
#include <stdio.h>
|
||||
#include <memory.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
main (
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue