Add workaround for LAPACK testsuite failures with the NVIDIA HPC compiler
@@ -169,8 +169,13 @@ ZROTKERNEL = zrot.c
#
SSCALKERNEL = sscal.c
DSCALKERNEL = dscal.c
+ifeq ($(C_COMPILER), PGI)
+CSCALKERNEL = ../arm/zscal.c
+ZSCALKERNEL = ../arm/zscal.c
+else
CSCALKERNEL = zscal.c
ZSCALKERNEL = zscal.c
+endif
#
SSWAPKERNEL = sswap.c
DSWAPKERNEL = dswap.c
