summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPraneeth Bajjuri <praneeth@ti.com>2017-01-10 11:55:13 -0600
committerPraneeth Bajjuri <praneeth@ti.com>2017-02-28 23:43:47 -0600
commit3712b9d85a9eeb932fc2520d20a531f19c52d15d (patch)
tree409bbc9e1a66b9cb11c74d7143c720c0cb06a124
parent5ef434657c246e461502b87469aaa84a850cd92a (diff)
downloadproprietary-open-jacinto-3712b9d85a9eeb932fc2520d20a531f19c52d15d.tar.gz
earlyboot: remove warnings in pvr build
remove warnings in pvrkm build for earlyboot benchmarking Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rw-r--r--jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/buildvars.mk29
1 files changed, 15 insertions, 14 deletions
diff --git a/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/buildvars.mk b/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/buildvars.mk
index f20ee5b..c6ca755 100644
--- a/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/buildvars.mk
+++ b/jacinto6/sgx_src/eurasia_km/eurasiacon/build/linux2/buildvars.mk
@@ -48,13 +48,14 @@
# These flags are used for kernel, User C and User C++
#
-COMMON_FLAGS := -W -Wall
+COMMON_FLAGS := -W
+#-Wall
# Some GCC warnings are C only, so we must mask them from C++
#
-COMMON_CFLAGS := $(COMMON_FLAGS) \
- -Wdeclaration-after-statement -Wno-format-zero-length \
- -Wstrict-prototypes
+#COMMON_CFLAGS := $(COMMON_FLAGS) \
+# -Wdeclaration-after-statement -Wno-format-zero-length \
+# -Wstrict-prototypes
# User C and User C++ optimization control. Does not affect kernel.
#
@@ -71,7 +72,7 @@ endif
# FIXME: We should probably audit the driver for aliasing
#
-COMMON_USER_FLAGS += -fno-strict-aliasing
+#COMMON_USER_FLAGS += -fno-strict-aliasing
# We always enable debugging. Either the release binaries are stripped
# and the symbols put in the symbolpackage, or we're building debug.
@@ -80,9 +81,9 @@ COMMON_USER_FLAGS += -g $(ANDROID_FPGA_FORCE_32BIT)
# User C and User C++ warning flags
#
-COMMON_USER_FLAGS += \
- -Wpointer-arith -Wunused-parameter \
- -Wmissing-format-attribute
+#COMMON_USER_FLAGS += \
+# -Wpointer-arith -Wunused-parameter \
+# -Wmissing-format-attribute
# Additional warnings, and optional warnings.
#
@@ -158,8 +159,8 @@ TESTED_TARGET_USER_FLAGS += \
TESTED_HOST_USER_FLAGS += \
$(call host-cc-optional-warning,-Wunused-but-set-variable)
-KBUILD_FLAGS := \
- -Wno-unused-parameter -Wno-sign-compare
+#KBUILD_FLAGS := \
+# -Wno-unused-parameter -Wno-sign-compare
# androideabi toolchain adds `pic` by default, disable it
# for kernel module build
@@ -203,12 +204,12 @@ ALL_HOST_CFLAGS := \
# User C++ only
#
-ALL_CXXFLAGS := \
- -fno-rtti -fno-exceptions \
+#ALL_CXXFLAGS := \
+# -fno-rtti -fno-exceptions \
$(COMMON_USER_FLAGS) $(COMMON_FLAGS) $(TESTED_TARGET_USER_FLAGS) \
$(SYS_CXXFLAGS)
-ALL_HOST_CXXFLAGS := \
- -fno-rtti -fno-exceptions \
+#ALL_HOST_CXXFLAGS := \
+# -fno-rtti -fno-exceptions \
$(COMMON_USER_FLAGS) $(COMMON_FLAGS) $(TESTED_HOST_USER_FLAGS)
# Workaround for some target clangs that don't support -O0 w/ PIC.