DivestOS/Patches/CyanogenMod-13.0/android_external_bluetooth_bluedroid/Disable_Opt.patch
2016-12-21 19:30:02 -05:00

27 lines
886 B
Diff

From 8bff5fb1bf50db8e26ee64d1f15181f67a68fc7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Domeradzki?=
<JustArchi@users.noreply.github.com>
Date: Mon, 10 Aug 2015 02:01:37 +0200
Subject: [PATCH] Fix O3 SIGBUS
---
main/Android.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main/Android.mk b/main/Android.mk
index d98d2ef..8cfee24 100644
--- a/main/Android.mk
+++ b/main/Android.mk
@@ -134,7 +134,7 @@ ifeq ($(BOARD_USES_WIPOWER), true)
LOCAL_C_INCLUDES+= $(LOCAL_PATH)/../wipowerif/include
endif
-LOCAL_CFLAGS += -DBUILDCFG $(bdroid_CFLAGS) -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=unused-parameter
+LOCAL_CFLAGS += -DBUILDCFG $(bdroid_CFLAGS) -Os -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=unused-parameter
LOCAL_CONLYFLAGS := -std=c99
ifeq ($(TARGET_PRODUCT), full_crespo)
--
2.5.0