summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-05-18 11:40:31 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-05-18 11:40:31 -0500
commit48b6b9b2e8c49988a7fcc94760d6338bd283427b (patch)
treea34879af6aa47893a66856246c98e0300ff23a27 /makefile
parent512cc04b8f681a7583fff88bd903f327d549bd3d (diff)
downloadtalos-hostboot-48b6b9b2e8c49988a7fcc94760d6338bd283427b.zip
talos-hostboot-48b6b9b2e8c49988a7fcc94760d6338bd283427b.tar.gz
Use C++ compiler
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/makefile b/makefile
index a402389..7020c5a 100644
--- a/makefile
+++ b/makefile
@@ -1,8 +1,10 @@
CC = powerpc64-unknown-linux-gnu-gcc
+CXX = powerpc64-unknown-linux-gnu-g++
LD = powerpc64-unknown-linux-gnu-ld
-COMMONFLAGS = -O3 -nostdlib
-CFLAGS = ${COMMONFLAGS} -mcpu=620
+COMMONFLAGS = -O3 -nostdlib
+CFLAGS = ${COMMONFLAGS} -mcpu=620 -fno-rtti -fno-exceptions
+CXXFLAGS = ${CFLAGS}
LDFLAGS = -static ${COMMONFLAGS}
OBJECTS = start.o kernel.o
OpenPOWER on IntegriCloud