[edk2] [Patch] CryptoPkg IntrinsicLib: Remove GCC -fno-builtin option

Liming Gao posted 1 patch 7 years ago
Failed in applying to current master (apply log)
CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[edk2] [Patch] CryptoPkg IntrinsicLib: Remove GCC -fno-builtin option
Posted by Liming Gao 7 years ago
GCC -fno-builtin option is added into tools_def.template. So, there is
no need to set it in module INF file.

Cc: Qin Long <qin.long@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
---
 CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf b/CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
index cd09f53..91e5eb7 100644
--- a/CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
+++ b/CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
@@ -1,7 +1,7 @@
 ## @file
 #  Intrinsic Routines Wrapper Library Instance.
 #
-#  Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>
+#  Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>
 #  This program and the accompanying materials
 #  are licensed and made available under the terms and conditions of the BSD License
 #  which accompanies this distribution.  The full text of the license may be found at
@@ -81,4 +81,3 @@
    MSFT:DEBUG_*_IPF_CC_FLAGS              == /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32 /Zi
    MSFT:RELEASE_*_IPF_CC_FLAGS            == /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32
   INTEL:*_*_*_CC_FLAGS                    =  /Oi-
-    GCC:*_*_*_CC_FLAGS                    =  -fno-builtin
\ No newline at end of file
-- 
2.8.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [Patch] CryptoPkg IntrinsicLib: Remove GCC -fno-builtin option
Posted by Long, Qin 7 years ago
Reviewed-by: Long Qin <qin.long@intel.com>

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Liming Gao
> Sent: Thursday, April 06, 2017 4:16 PM
> To: edk2-devel@lists.01.org
> Cc: Long, Qin
> Subject: [edk2] [Patch] CryptoPkg IntrinsicLib: Remove GCC -fno-builtin
> option
> 
> GCC -fno-builtin option is added into tools_def.template. So, there is no
> need to set it in module INF file.
> 
> Cc: Qin Long <qin.long@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Liming Gao <liming.gao@intel.com>
> ---
>  CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
> b/CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
> index cd09f53..91e5eb7 100644
> --- a/CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
> +++ b/CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
> @@ -1,7 +1,7 @@
>  ## @file
>  #  Intrinsic Routines Wrapper Library Instance.
>  #
> -#  Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>
> +#  Copyright (c) 2010 - 2017, Intel Corporation. All rights
> +reserved.<BR>
>  #  This program and the accompanying materials  #  are licensed and made
> available under the terms and conditions of the BSD License  #  which
> accompanies this distribution.  The full text of the license may be found at
> @@ -81,4 +81,3 @@
>     MSFT:DEBUG_*_IPF_CC_FLAGS              == /nologo /c /WX /GS- /X /W4
> /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32 /Zi
>     MSFT:RELEASE_*_IPF_CC_FLAGS            == /nologo /c /WX /GS- /X /W4
> /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32
>    INTEL:*_*_*_CC_FLAGS                    =  /Oi-
> -    GCC:*_*_*_CC_FLAGS                    =  -fno-builtin
> \ No newline at end of file
> --
> 2.8.0.windows.1
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel