summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-05-23 01:32:44 +1000
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-27 17:12:27 +0200
commitb0195a3325b838bc9bdaa62a76b5125e4b694169 (patch)
tree45ae9142303160398c4f6574136da6d02db1eef1 /src/arch/x86
parent9b229858b2b0887511ae78e1535a422795e77736 (diff)
downloadcoreboot-b0195a3325b838bc9bdaa62a76b5125e4b694169.tar.xz
build: Pass correct disassembly flags in Clang build
On SVR4-derived platforms, the character `/' is treated as a comment character, which means that it cannot be used in expressions. The `--divide' option turns `/' into a normal character. This seems to be needed with our local build of binutils since we don't yet use the internal assembler/disassembler of the Clang tooling. Change-Id: I344fc8670fd5d994f3b63308a513dd367aefc7f9 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5813 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc
index 125e9de97c..c0e908d46f 100644
--- a/src/arch/x86/Makefile.inc
+++ b/src/arch/x86/Makefile.inc
@@ -30,7 +30,7 @@ subdirs-y += smp
ifeq ($(CONFIG_COMPILER_GCC),y)
DISASSEMBLY=-Wa,-acdlns
else
-DISASSEMBLY=
+DISASSEMBLY=-Wa,--divide
endif
OPTION_TABLE_H:=