am d0427e49
: Merge "Workaround for a gcc-4.6 bug on -fstrict-volatile-bitfields."
* commit 'd0427e493edf2e4de2bd60fd1cc8253e9de233fd': Workaround for a gcc-4.6 bug on -fstrict-volatile-bitfields.
This commit is contained in:
committed by
Android Git Automerger
commit
9987dbbbb4
@@ -119,7 +119,8 @@ TARGET_GLOBAL_CFLAGS += \
|
|||||||
# in gcc-4.4.x. We also want to disable sincos optimization globally
|
# in gcc-4.4.x. We also want to disable sincos optimization globally
|
||||||
# by turning off the builtin sin function.
|
# by turning off the builtin sin function.
|
||||||
ifneq ($(filter 4.6.%, $(shell $(TARGET_CC) --version)),)
|
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
|
endif
|
||||||
|
|
||||||
# This is to avoid the dreaded warning compiler message:
|
# This is to avoid the dreaded warning compiler message:
|
||||||
|
Reference in New Issue
Block a user