Fix pic_flag and test contents about Fujitsu compiler. (#11996)

This commit is contained in:
t-karatsu 2019-07-13 00:34:08 +09:00 committed by Adam J. Stewart
parent e8e030a518
commit adbb9e2d8e
2 changed files with 6 additions and 6 deletions

View File

@ -46,4 +46,4 @@ def cxx14_flag(self):
@property
def pic_flag(self):
return "-fPIC"
return "-KPIC"

View File

@ -274,11 +274,11 @@ def test_xl_r_flags():
def test_fj_flags():
supported_flag_test("openmp_flag", "-Kopenmp", "fj@1.2.0")
supported_flag_test("cxx98_flag", "-std=c++98", "fj@1.2.0")
supported_flag_test("cxx11_flag", "-std=c++11", "fj@1.2.0")
supported_flag_test("cxx14_flag", "-std=c++14", "fj@1.2.0")
supported_flag_test("pic_flag", "-fPIC", "fj@1.2.0")
supported_flag_test("openmp_flag", "-Kopenmp", "fj@4.0.0")
supported_flag_test("cxx98_flag", "-std=c++98", "fj@4.0.0")
supported_flag_test("cxx11_flag", "-std=c++11", "fj@4.0.0")
supported_flag_test("cxx14_flag", "-std=c++14", "fj@4.0.0")
supported_flag_test("pic_flag", "-KPIC", "fj@4.0.0")
@pytest.mark.regression('10191')