5edf9f
From 90169f80a70efd4d5b6101e87666cd355dbd786f Mon Sep 17 00:00:00 2001
5edf9f
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
5edf9f
Date: Fri, 2 Jun 2017 08:04:57 -0700
5edf9f
Subject: [PATCH] Removed compile flags
5edf9f
5edf9f
Removed -fpermissive and -fopenmp.
5edf9f
---
5edf9f
 Android.mk  | 2 +-
5edf9f
 Makefile.am | 2 --
5edf9f
 2 files changed, 1 insertion(+), 3 deletions(-)
5edf9f
5edf9f
diff --git a/Android.mk b/Android.mk
5edf9f
index 092053d..8ef9cf3 100644
5edf9f
--- a/Android.mk
5edf9f
+++ b/Android.mk
5edf9f
@@ -43,7 +43,7 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH) $(thermald_src_path) \
5edf9f
 			system/core/include/
5edf9f
 
5edf9f
 LOCAL_MODULE_TAGS := optional
5edf9f
-LOCAL_CFLAGS := -fpermissive -DTDRUNDIR='"/data/thermal-daemon"' -DTDCONFDIR='"/system/etc/thermal-daemon"'
5edf9f
+LOCAL_CFLAGS := -DTDRUNDIR='"/data/thermal-daemon"' -DTDCONFDIR='"/system/etc/thermal-daemon"'
5edf9f
 LOCAL_STATIC_LIBRARIES := libxml2
5edf9f
 LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libc++ libicuuc libicui18n libbinder libutils
5edf9f
 LOCAL_PRELINK_MODULE := false
5edf9f
diff --git a/Makefile.am b/Makefile.am
5edf9f
index 1ac26ed..ee96893 100644
5edf9f
--- a/Makefile.am
5edf9f
+++ b/Makefile.am
5edf9f
@@ -11,8 +11,6 @@ AM_CXXFLAGS = ${DBUS_CFLAGS}\
5edf9f
 		-DTDRUNDIR=\"$(tdrundir)\" \
5edf9f
 		-DTDCONFDIR=\"$(tdconfdir)\" \
5edf9f
 		-I src \
5edf9f
-		-fpermissive \
5edf9f
-		-fopenmp \
5edf9f
 		-Wreorder \
5edf9f
 		-Wsign-compare \
5edf9f
 		-Wreturn-type \