diff --git a/Makefile.system b/Makefile.system index 840389db7..620a462e3 100644 --- a/Makefile.system +++ b/Makefile.system @@ -356,6 +356,9 @@ OBJCONV = $(CROSS_SUFFIX)objconv ifeq ($(NOFORTRAN), 1) C_LAPACK = 1 override FEXTRALIB = +ifeq ($(C_COMPILER), GCC) +CCOMMON_OPT += -Wno-error=incompatible-pointer-types +endif endif ifeq ($(C_COMPILER), GCC)