summaryrefslogtreecommitdiff
path: root/bsp/qemu-vexpress-a9
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-04-26 23:20:58 +0800
committerBernard Xiong <[email protected]>2018-04-26 23:20:58 +0800
commit4356db5b116bf81e46e1c6720bb1e05357527b9f (patch)
tree853bafba9163a54efa568abacfa77e9b2d622490 /bsp/qemu-vexpress-a9
parent4113f6bcda1296b1708cb78c5c22620507b60428 (diff)
[BSP] Update module compiling parameters for QEMU.
Diffstat (limited to 'bsp/qemu-vexpress-a9')
-rw-r--r--bsp/qemu-vexpress-a9/rtconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/qemu-vexpress-a9/rtconfig.py b/bsp/qemu-vexpress-a9/rtconfig.py
index f3cef7054a..545ba76af9 100644
--- a/bsp/qemu-vexpress-a9/rtconfig.py
+++ b/bsp/qemu-vexpress-a9/rtconfig.py
@@ -49,12 +49,12 @@ if PLATFORM == 'gcc':
else:
CFLAGS += ' -O2'
- CXXFLAGS = CFLAGS
+ CXXFLAGS = CFLAGS + ' -Woverloaded-virtual -fno-exceptions -fno-rtti'
M_CFLAGS = CFLAGS + ' -mlong-calls -fPIC '
M_CXXFLAGS = CXXFLAGS + ' -mlong-calls -fPIC'
M_LFLAGS = DEVICE + CXXFLAGS + ' -Wl,--gc-sections,-z,max-page-size=0x4' +\
- ' -shared -fPIC -nostartfiles -static-libgcc'
+ ' -shared -fPIC -nostartfiles -nostdlib -static-libgcc'
M_POST_ACTION = STRIP + ' -R .hash $TARGET\n' + SIZE + ' $TARGET \n'
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' +\