diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-11-12 14:14:19 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-11-12 15:02:20 -0500 |
commit | d746d647f31bd3664f4a23985b78654129ffc1db (patch) | |
tree | 6caa461f889220551adb460e2f74b00d51c0e076 /arch/x86/vdso | |
parent | 2a113281f5cd2febbab21a93c8943f8d3eece4d3 (diff) |
x86: do not use $(ARCH) when not needed
For x86 ARCH may say i386 or x86_64 and soon x86.
Rely on CONFIG_X64_32 to select between 32/64 or just
hardcode the value as appropriate.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Diffstat (limited to 'arch/x86/vdso')
-rw-r--r-- | arch/x86/vdso/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/vdso/Makefile b/arch/x86/vdso/Makefile index 7a2ba4583939..e7bff0fbac23 100644 --- a/arch/x86/vdso/Makefile +++ b/arch/x86/vdso/Makefile | |||
@@ -20,7 +20,7 @@ quiet_cmd_syscall = SYSCALL $@ | |||
20 | cmd_syscall = $(CC) -m elf_x86_64 -nostdlib $(SYSCFLAGS_$(@F)) \ | 20 | cmd_syscall = $(CC) -m elf_x86_64 -nostdlib $(SYSCFLAGS_$(@F)) \ |
21 | -Wl,-T,$(filter-out FORCE,$^) -o $@ | 21 | -Wl,-T,$(filter-out FORCE,$^) -o $@ |
22 | 22 | ||
23 | export CPPFLAGS_vdso.lds += -P -C -U$(ARCH) | 23 | export CPPFLAGS_vdso.lds += -P -C |
24 | 24 | ||
25 | vdso-flags = -fPIC -shared -Wl,-soname=linux-vdso.so.1 \ | 25 | vdso-flags = -fPIC -shared -Wl,-soname=linux-vdso.so.1 \ |
26 | $(call ld-option, -Wl$(comma)--hash-style=sysv) \ | 26 | $(call ld-option, -Wl$(comma)--hash-style=sysv) \ |