diff options
author | James Hogan <james.hogan@imgtec.com> | 2016-10-07 05:23:46 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-10-11 09:07:30 -0400 |
commit | 9445622cfbc38c980f1755fc1132a3a460b5a529 (patch) | |
tree | db5e0ea508350cb3d4f1b01a6bf3ec6c8d80a79b /arch/mips/vdso | |
parent | 034827c727f7f3946a18355b63995b402c226c82 (diff) |
MIPS: VDSO: Drop duplicated -I*/-E* aflags
The aflags-vdso is based on ccflags-vdso, which already contains the -I*
and -EL/-EB flags from KBUILD_CFLAGS, but those flags are needlessly
added again to aflags-vdso.
Drop the duplication.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Reported-by: Maciej W. Rozycki <macro@imgtec.com>
Reviewed-by: Maciej W. Rozycki <macro@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14369/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/vdso')
-rw-r--r-- | arch/mips/vdso/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/vdso/Makefile b/arch/mips/vdso/Makefile index de9e8836d248..c3dc12a8b7d9 100644 --- a/arch/mips/vdso/Makefile +++ b/arch/mips/vdso/Makefile | |||
@@ -13,8 +13,6 @@ cflags-vdso := $(ccflags-vdso) \ | |||
13 | -DDISABLE_BRANCH_PROFILING \ | 13 | -DDISABLE_BRANCH_PROFILING \ |
14 | $(call cc-option, -fno-stack-protector) | 14 | $(call cc-option, -fno-stack-protector) |
15 | aflags-vdso := $(ccflags-vdso) \ | 15 | aflags-vdso := $(ccflags-vdso) \ |
16 | $(filter -I%,$(KBUILD_CFLAGS)) \ | ||
17 | $(filter -E%,$(KBUILD_CFLAGS)) \ | ||
18 | -D__ASSEMBLY__ -Wa,-gdwarf-2 | 16 | -D__ASSEMBLY__ -Wa,-gdwarf-2 |
19 | 17 | ||
20 | # | 18 | # |