about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 439f18d3ff..21b260cc9a 100644
--- a/Makerules
+++ b/Makerules
@@ -69,7 +69,11 @@ endif
 # The name of the symbol table archive member.  The default is suitable for
 # BSD style archives.  It can be overridden in sysdep Makefiles when SYSV
 # style archive are used.
+ifeq (no,$(elf))
 ar-symtab-name = __.SYMDEF
+else
+ar-symtab-name = # The null name is used in ELF archives.
+endif
 
 # Include any system-specific makefiles.