hdf5@1.8.21 %oneapi@2023.0.0: -Wno-error=int-conversion (#34983)
This commit is contained in:
parent
c9e85ada15
commit
e391edf2f5
@ -341,6 +341,8 @@ def flag_handler(self, name, flags):
|
|||||||
# More recent versions set CMAKE_POSITION_INDEPENDENT_CODE to
|
# More recent versions set CMAKE_POSITION_INDEPENDENT_CODE to
|
||||||
# True and build with PIC flags.
|
# True and build with PIC flags.
|
||||||
cmake_flags.append(self.compiler.cc_pic_flag)
|
cmake_flags.append(self.compiler.cc_pic_flag)
|
||||||
|
if spec.satisfies("@1.8.21 %oneapi@2023.0.0"):
|
||||||
|
cmake_flags.append("-Wno-error=int-conversion")
|
||||||
elif name == "cxxflags":
|
elif name == "cxxflags":
|
||||||
if spec.satisfies("@:1.8.12+cxx~shared"):
|
if spec.satisfies("@:1.8.12+cxx~shared"):
|
||||||
cmake_flags.append(self.compiler.cxx_pic_flag)
|
cmake_flags.append(self.compiler.cxx_pic_flag)
|
||||||
|
Loading…
Reference in New Issue
Block a user