Skip to content

Commit d90e38f

Browse files
committed
Add - in front of another mcpu flag
1 parent 8a43c31 commit d90e38f

File tree

1 file changed

+2
-2
lines changed
  • easybuild/toolchains/compiler

1 file changed

+2
-2
lines changed

easybuild/toolchains/compiler/gcc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ def _guess_aarch64_default_optarch(self):
186186
break
187187
if core_types:
188188
# On big.LITTLE setups, sort core types to have big core (higher model number) first.
189-
# Example: 'mcpu=cortex-a72.cortex-a53' for "ARM Cortex-A53 + Cortex-A72"
190-
default_optarch = 'mcpu=%s' % '.'.join([ct[1] for ct in sorted(core_types, reverse=True)])
189+
# Example: '-mcpu=cortex-a72.cortex-a53' for "ARM Cortex-A53 + Cortex-A72"
190+
default_optarch = '-mcpu=%s' % '.'.join([ct[1] for ct in sorted(core_types, reverse=True)])
191191
self.log.debug("Using architecture-specific compiler optimization flag '%s'", default_optarch)
192192

193193
return default_optarch

0 commit comments

Comments
 (0)