summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-10-14 16:15:36 -0500
committerChris Johns <chrisj@rtems.org>2019-01-05 15:54:27 +1100
commit03d8d9dd87b8d38ec6f9488e8e6389df845a0154 (patch)
tree2050ac10783db4730dc6843bf72e59898ae080ee
parent8cd37e36da31c843caedaf4e7b537242ffda313e (diff)
rtems.py: Pass -EL, -EB, and -Gn to link phase
closes #3424.
-rw-r--r--rtems.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtems.py b/rtems.py
index bda4436..1b0da60 100644
--- a/rtems.py
+++ b/rtems.py
@@ -791,7 +791,7 @@ def _filter_flags(label, flags, arch, rtems_path):
[ { 'key': 'warnings', 'path': False, 'flags': { '-W': 1 }, 'cflags': False, 'lflags': False },
{ 'key': 'includes', 'path': True, 'flags': { '-I': 1, '-isystem': 2, '-sysroot': 2 } },
{ 'key': 'libpath', 'path': True, 'flags': { '-L': 1 } },
- { 'key': 'machines', 'path': True, 'flags': { '-O': 1, '-m': 1, '-f': 1 } },
+ { 'key': 'machines', 'path': True, 'flags': { '-O': 1, '-m': 1, '-f': 1, '-G':1, '-E':1 } },
{ 'key': 'specs', 'path': True, 'flags': { '-q': 1, '-B': 2, '--specs': 2 } } ]
flags = _strip_cflags(flags)