summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSachin Gupta <sgupta2m@in.ibm.com>2017-01-24 06:59:46 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2017-01-31 01:55:32 -0500
commit59a3c3f1e9e954b1fb30f1a72d6e91c4f273e398 (patch)
tree81716c3ccc1715fe5c67541482965171dd122bc2 /src
parent5714f9651ca484fb727e97da0225fb0bbaa947fa (diff)
downloadtalos-sbe-59a3c3f1e9e954b1fb30f1a72d6e91c4f273e398.tar.gz
talos-sbe-59a3c3f1e9e954b1fb30f1a72d6e91c4f273e398.zip
Removed c++11 dependency
Change-Id: Ieab974da63942fab7c5f12568c5686beedf8568e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35315 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35383 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/import/chips/p9/xip/Makefile10
-rw-r--r--src/import/tools/imageProcs/p9_ipl_build.C2
2 files changed, 2 insertions, 10 deletions
diff --git a/src/import/chips/p9/xip/Makefile b/src/import/chips/p9/xip/Makefile
index a337e063..59f125c4 100644
--- a/src/import/chips/p9/xip/Makefile
+++ b/src/import/chips/p9/xip/Makefile
@@ -5,7 +5,7 @@
#
# OpenPOWER sbe Project
#
-# Contributors Listed Below - COPYRIGHT 2015,2016
+# Contributors Listed Below - COPYRIGHT 2015,2017
# [+] International Business Machines Corp.
#
#
@@ -39,8 +39,6 @@ INCLUDES += -I../../../../hwpf/include/plat/ # ppe: define path varia
XIP_FLAGS += -DDEBUG_P9_XIP_IMAGE=1
XIP_FLAGS += -DFAPI2_NO_FFDC
-CXX_FLAGS += -std=c++11
-
ifdef BINDIR
OBJ_DIR = $(BINDIR)
else
@@ -54,12 +52,6 @@ endif
CXX = g++
-CXX_RELEASE = 4.8.2
-CXX_VERSION = $(shell $(CXX) -v 2>&1 | grep "$(CXX_RELEASE)")
-ifeq ($(CXX_VERSION),)
-$(error wrong compiler version. Use $(CXX_RELEASE) compiler. Try: "scl enable devtoolset-2 bash")
-endif
-
XIP_UTILS = p9_xip_tool
# Utility targets
diff --git a/src/import/tools/imageProcs/p9_ipl_build.C b/src/import/tools/imageProcs/p9_ipl_build.C
index 71babfad..a6b13d40 100644
--- a/src/import/tools/imageProcs/p9_ipl_build.C
+++ b/src/import/tools/imageProcs/p9_ipl_build.C
@@ -72,7 +72,7 @@ std::string getDDSpecificFileName( const char* i_fn,
// create our dd specific file name
std::stringstream ss;
std::string fn = i_fn;
- auto found = fn.find_last_of("/");
+ size_t found = fn.find_last_of("/");
ss << CHIP_TYPE << std::hex << i_ddLevel << "." << fn.substr(found + 1);
return ss.str();
OpenPOWER on IntegriCloud