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

Commit a6467cc8 authored by Doug Kwan's avatar Doug Kwan
Browse files

Disable gcc-4.6's Wunused-but-set-variables warning.

Change-Id: Ia02fa536410b9200beca1d9d120ec448c82e5ca8
parent 2ed3603a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -102,6 +102,11 @@ COMMON_ANDROID_PACKAGE_SUFFIX := .apk
# list of flags to turn specific warnings in to errors
TARGET_ERROR_FLAGS := -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point

# Temporarily turn off Wunsed-but-set-variables warning in gcc-4.6
# since this warning becomes an error in dalvik, core and renderscript.
# This is ignored by gcc-4.4.x.
TARGET_ERROR_FLAGS += -Wno-unused-but-set-variable

# TODO: do symbol compression
TARGET_COMPRESS_MODULE_SYMBOLS := false