MIPS: VDSO: Drop duplicated -I*/-E* aflags
authorJames Hogan <james.hogan@imgtec.com>
Fri, 7 Oct 2016 09:23:46 +0000 (10:23 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 11 Oct 2016 13:07:30 +0000 (15:07 +0200)
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>
arch/mips/vdso/Makefile

index de9e8836d2482c42ca806f1e18681ba605f23f0f..c3dc12a8b7d9ddc79f8acf126cdd83bbb91dfee2 100644 (file)
@@ -13,8 +13,6 @@ cflags-vdso := $(ccflags-vdso) \
        -DDISABLE_BRANCH_PROFILING \
        $(call cc-option, -fno-stack-protector)
 aflags-vdso := $(ccflags-vdso) \
-       $(filter -I%,$(KBUILD_CFLAGS)) \
-       $(filter -E%,$(KBUILD_CFLAGS)) \
        -D__ASSEMBLY__ -Wa,-gdwarf-2
 
 #