Skip to content

Commit

Permalink
Deprecate OMR_BASE_WARNING_FLAGS
Browse files Browse the repository at this point in the history
This define is not being used anywhere.
  • Loading branch information
fjeremic committed Jun 15, 2021
1 parent 1a5a46e commit 47f3045
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions cmake/modules/OmrTargetSupport.cmake
Expand Up @@ -88,12 +88,6 @@ function(omr_add_library name)
$<$<COMPILE_LANGUAGE:C>:${OMR_C_ENHANCED_WARNINGS_FLAG}>
$<$<COMPILE_LANGUAGE:CXX>:${OMR_CXX_ENHANCED_WARNINGS_FLAG}>
)
else()
target_compile_options(${name}
PRIVATE
$<$<COMPILE_LANGUAGE:C>:${OMR_BASE_WARNING_FLAGS}>
$<$<COMPILE_LANGUAGE:CXX>:${OMR_BASE_WARNING_FLAGS}>
)
endif()
endif()

Expand Down Expand Up @@ -134,13 +128,7 @@ function(omr_add_executable name)
$<$<COMPILE_LANGUAGE:C>:${OMR_C_ENHANCED_WARNINGS_FLAG}>
$<$<COMPILE_LANGUAGE:CXX>:${OMR_CXX_ENHANCED_WARNINGS_FLAG}>
)
else()
target_compile_options(${name}
PRIVATE
$<$<COMPILE_LANGUAGE:C>:${OMR_BASE_WARNING_FLAGS}>
$<$<COMPILE_LANGUAGE:CXX>:${OMR_BASE_WARNING_FLAGS}>
)
endif()
endif()
endif()

if(opt_OUTPUT_NAME)
Expand Down

0 comments on commit 47f3045

Please sign in to comment.