diff options
| author | [email protected] <[email protected]> | 2012-03-04 02:24:40 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-03-04 02:24:40 +0000 |
| commit | b613ecdb3e543a4c39c5bd80359c81e504c1da33 (patch) | |
| tree | b0601c58ce57375c6bdb417496e0ede233053d36 /examples/module | |
| parent | 4fe0621cc49b37eeded0b6853c6a9facd89a6685 (diff) | |
add -mlong-calls to gcc compile parameter
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1987 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'examples/module')
| -rw-r--r-- | examples/module/rtconfig_lm3s.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/module/rtconfig_lm3s.py b/examples/module/rtconfig_lm3s.py index 7958047f2b..0f81c67a48 100644 --- a/examples/module/rtconfig_lm3s.py +++ b/examples/module/rtconfig_lm3s.py @@ -15,7 +15,7 @@ OBJDUMP = PREFIX + 'objdump' OBJCPY = PREFIX + 'objcopy'
DEVICE = ' -mcpu=cortex-m3'
-CFLAGS = DEVICE + ' -mthumb -Dsourcerygxx -O0 -fPIC'
+CFLAGS = DEVICE + ' -mthumb -mlong-calls -Dsourcerygxx -O0 -fPIC'
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp'
LFLAGS = DEVICE + ' -mthumb -Wl,-z,max-page-size=0x4 -shared -fPIC -e main -nostdlib'
|
