summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/makefile b/makefile
index a40238991..7020c5aac 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