NetworkBuildOptions.dsc.inc 845 B

123456789101112131415161718192021
  1. ## @file
  2. # Network DSC include file for [BuildOptions] sections of all Architectures.
  3. #
  4. # This file can be included in the [BuildOptions*] section(s) of a platform DSC file
  5. # by using "!include NetworkPkg/NetworkBuildOptions.dsc.inc", to specify the C language
  6. # feature test macros (eg., API deprecation macros) according to the flags described
  7. # in "NetworkDefines.dsc.inc".
  8. #
  9. # Supported tool chain families: "GCC", "INTEL", "MSFT".
  10. #
  11. # Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
  12. #
  13. # SPDX-License-Identifier: BSD-2-Clause-Patent
  14. #
  15. ##
  16. !if $(NETWORK_ISCSI_ENABLE) == TRUE && $(NETWORK_ISCSI_MD5_ENABLE) == TRUE
  17. MSFT:*_*_*_CC_FLAGS = /D ENABLE_MD5_DEPRECATED_INTERFACES
  18. INTEL:*_*_*_CC_FLAGS = /D ENABLE_MD5_DEPRECATED_INTERFACES
  19. GCC:*_*_*_CC_FLAGS = -D ENABLE_MD5_DEPRECATED_INTERFACES
  20. !endif