diff --git a/Makefile b/Makefile index 374d8bc..a18811b 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ ifneq ($(fpic),no) endif # ...while those starting with GTH_ are for internal purposes only -GTH_CFLAGS:=-g -Wall -Wunused-parameter -pipe $(FPIC) -Wpointer-arith -fno-stack-protector -Wno-error=misleading-indentation -Wno-unknown-pragmas +GTH_CFLAGS:=-g -Wall -Wunused-parameter -pipe $(FPIC) -Wpointer-arith -fno-stack-protector -Wno-unknown-pragmas # mkvtree needs -DWITHLCP # rnv needs -DUNISTD_H="" -DEXPAT_H="" -DRNV_VERSION="\"1.7.8\"" EXT_FLAGS:= -DWITHLCP -DUNISTD_H="" -DEXPAT_H="" \ @@ -79,6 +79,12 @@ ifeq ($(wrapmemcpy),yes) GTH_LDFLAGS+=-Wl,--wrap=memcpy endif +ifneq ($(SYSTEM),Darwin) +ifneq ($(MACHINE),ARMv6_hf) +GTH_CFLAGS+=-Wno-error=misleading-indentation +endif +endif + # system specific stuff (concerning 64bit compilation) ifeq ($(SYSTEM),Darwin) ifeq ($(64bit),yes)