From 0c06b7122a517f168a1843a7f1760ca3594dbc3a Mon Sep 17 00:00:00 2001 From: Gaurav Chaudhari Date: Thu, 18 Jul 2024 11:16:17 -0400 Subject: [PATCH] Remove unnecessary DDR flags for Open XL This change will require changes from https://github.com/eclipse/omr/pull/7319 Signed-off-by: Gaurav Chaudhari --- cmake/modules/ddr/DDRSetStub.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/ddr/DDRSetStub.cmake.in b/cmake/modules/ddr/DDRSetStub.cmake.in index d5a53fa62d4..cdf058d4e6f 100644 --- a/cmake/modules/ddr/DDRSetStub.cmake.in +++ b/cmake/modules/ddr/DDRSetStub.cmake.in @@ -145,7 +145,7 @@ function(process_source_files src_files) # Adding this option to the command alleviates this issue. list(APPEND pp_command "-xc++") endif() - if("@OMR_OS_ZOS@" AND "@OMR_ENV_DATA64@") + if("@OMR_OS_ZOS@" AND "@OMR_ENV_DATA64@" AND NOT "@CMAKE_C_COMPILER_IS_OPENXL@") # We need to set 64 bit code generation to ensure that limits.h macros are set correctly. list(APPEND pp_command "-Wc,lp64") endif()