forked from openkylin/platform_build
am 9987dbbb: am d0427e49: Merge "Workaround for a gcc-4.6 bug on -fstrict-volatile-bitfields."
* commit '9987dbbbb43ca3279ec615299fbab8a9101aa51c': Workaround for a gcc-4.6 bug on -fstrict-volatile-bitfields.
This commit is contained in:
commit
77df1f2aec
|
@ -119,7 +119,8 @@ TARGET_GLOBAL_CFLAGS += \
|
|||
# in gcc-4.4.x. We also want to disable sincos optimization globally
|
||||
# by turning off the builtin sin function.
|
||||
ifneq ($(filter 4.6.%, $(shell $(TARGET_CC) --version)),)
|
||||
TARGET_GLOBAL_CFLAGS += -Wno-unused-but-set-variable -fno-builtin-sin
|
||||
TARGET_GLOBAL_CFLAGS += -Wno-unused-but-set-variable -fno-builtin-sin \
|
||||
-fno-strict-volatile-bitfields
|
||||
endif
|
||||
|
||||
# This is to avoid the dreaded warning compiler message:
|
||||
|
|
Loading…
Reference in New Issue