Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c5b6ab5 authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am 8389deee: Merge "mips64 should avoid common LP64 errors just like arm64 and x86-64."

* commit '8389deee':
  mips64 should avoid common LP64 errors just like arm64 and x86-64.
parents 841e4cf2 8389deee
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -96,6 +96,12 @@ TARGET_GLOBAL_CFLAGS += \
			-include $(android_config_h) \
			-I $(dir $(android_config_h))

# Help catch common 32/64-bit errors.
TARGET_GLOBAL_CFLAGS += \
    -Werror=pointer-to-int-cast \
    -Werror=int-to-pointer-cast \
    -Werror=implicit-function-declaration \

ifneq ($(ARCH_MIPS_PAGE_SHIFT),)
TARGET_GLOBAL_CFLAGS += -DPAGE_SHIFT=$(ARCH_MIPS_PAGE_SHIFT)
endif