summaryrefslogtreecommitdiff
path: root/lcc/lin-elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcc/lin-elf.c')
-rw-r--r--lcc/lin-elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcc/lin-elf.c b/lcc/lin-elf.c
index 15df9e57..3af9fe8f 100644
--- a/lcc/lin-elf.c
+++ b/lcc/lin-elf.c
@@ -16,7 +16,7 @@ char *include[] = { "-I" LCCDIR "include", "-I/usr/local/include",
"-I/usr/include", 0 };
char *com[] = { LCCDIR "rcc", "-target=x86/nasm",
"$1", "$2", "$3", 0 };
-char *as[] = { NASMPATH, "-felf", "-o", "$3", "$1", "$2", 0 };
+char *as[] = { NASMPATH, "-a", "-felf", "-o", "$3", "$1", "$2", 0 };
char *ld[] = { "/usr/bin/ld", "-m", "elf_i386",
"-dynamic-linker", "/lib/ld-linux.so.1",
"-L/usr/i486-linux/lib",