From d408bfe022e88f29225468c1a1ca0c5708fd9e34 Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Sat, 4 Nov 2017 12:44:38 +0000 Subject: [PATCH] Updated build to C++ 14 Signed-off-by: Adrian Conlon --- Intel8080/src/Makefile | 4 ++-- LR35902/src/Makefile | 4 ++-- src/Makefile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Intel8080/src/Makefile b/Intel8080/src/Makefile index e772d16..79d4063 100644 --- a/Intel8080/src/Makefile +++ b/Intel8080/src/Makefile @@ -1,6 +1,6 @@ LIB = libintel8080.a -CXXFLAGS = -Wall -std=c++11 -pipe -I ../inc -I ../../inc +CXXFLAGS = -Wall -std=c++14 -pipe -I ../inc -I ../../inc CXXFILES = Disassembler.cpp Intel8080.cpp Profiler.cpp @@ -13,7 +13,7 @@ PCH = stdafx.h.gch all: opt -opt: CXXFLAGS += -DNDEBUG -march=native -O2 +opt: CXXFLAGS += -DNDEBUG -march=native -O3 opt: $(LIB) debug: CXXFLAGS += -g -D_DEBUG diff --git a/LR35902/src/Makefile b/LR35902/src/Makefile index 1504407..f8e4ccb 100644 --- a/LR35902/src/Makefile +++ b/LR35902/src/Makefile @@ -1,6 +1,6 @@ LIB = liblr35902.a -CXXFLAGS = -Wall -std=c++11 -pipe -I ../inc -I ../../inc +CXXFLAGS = -Wall -std=c++14 -pipe -I ../inc -I ../../inc CXXFILES = CharacterDefinition.cpp Disassembler.cpp Display.cpp GameBoyBus.cpp IoRegisters.cpp LR35902.cpp ObjectAttribute.cpp Profiler.cpp @@ -13,7 +13,7 @@ PCH = stdafx.h.gch all: opt -opt: CXXFLAGS += -DNDEBUG -march=native -O2 +opt: CXXFLAGS += -DNDEBUG -march=native -O3 opt: $(LIB) debug: CXXFLAGS += -g -D_DEBUG diff --git a/src/Makefile b/src/Makefile index bf000e2..83b2128 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,6 +1,6 @@ LIB = libeightbit.a -CXXFLAGS = -Wall -std=c++11 -pipe -I ../inc +CXXFLAGS = -Wall -std=c++14 -pipe -I ../inc CXXFILES = EventArgs.cpp InputOutput.cpp IntelProcessor.cpp Memory.cpp Processor.cpp @@ -13,7 +13,7 @@ PCH = stdafx.h.gch all: opt -opt: CXXFLAGS += -DNDEBUG -march=native -O2 +opt: CXXFLAGS += -DNDEBUG -march=native -O3 opt: $(LIB) debug: CXXFLAGS += -g -D_DEBUG