summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard J. Knight <rjknight@us.ibm.com>2018-04-05 15:18:38 -0500
committerRichard J. Knight <rjknight@us.ibm.com>2018-04-05 15:18:38 -0500
commit2fb0edda0eeb4cba5319ee0f4405da79d75d4884 (patch)
tree4906694ea7066583fbc0efc4f27d66dbc36a37bc
parentf830e624a4b64185271db76c67739d3b468fd728 (diff)
downloadtalos-hcode-2fb0edda0eeb4cba5319ee0f4405da79d75d4884.tar.gz
talos-hcode-2fb0edda0eeb4cba5319ee0f4405da79d75d4884.zip
Update compile flags for tool executables
-Temporarily remove -Werror and add -Wformat=0 until we can clean up the code for the new compiler Change-Id: I80e4f40e6991c519fcaf6ab3fcf4f8c20a7109ce
-rw-r--r--tools/build/common.dir/cflags.env.mk22
1 files changed, 14 insertions, 8 deletions
diff --git a/tools/build/common.dir/cflags.env.mk b/tools/build/common.dir/cflags.env.mk
index 03f5bfaa..b970985f 100644
--- a/tools/build/common.dir/cflags.env.mk
+++ b/tools/build/common.dir/cflags.env.mk
@@ -3,23 +3,29 @@
#
# $Source: tools/build/common.dir/cflags.env.mk $
#
-# IBM CONFIDENTIAL
+# OpenPOWER HCODE Project
#
-# EKB Project
-#
-# COPYRIGHT 2015,2017
+# COPYRIGHT 2015,2018
# [+] International Business Machines Corp.
#
#
-# The source code for this program is not published or otherwise
-# divested of its trade secrets, irrespective of what has been
-# deposited with the U.S. Copyright Office.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# permissions and limitations under the License.
#
# IBM_PROLOG_END_TAG
# Makefile to define useful common flags for all environments.
-LOCALCOMMONFLAGS += -O3 -fPIC -Wall -Werror
+LOCALCOMMONFLAGS += -O3 -fPIC -Wall -Wformat=0
LOCALLDFLAGS += --std=gnu++11
ifeq ($(UNAME),Linux)
LOCALLDFLAGS += -rdynamic
OpenPOWER on IntegriCloud