Allow gas to use / as divide (instead of comment)

Maybe not necessary, but don't want to waste time figuring this out again
This commit is contained in:
Frans Kaashoek 2011-08-09 16:09:15 -04:00
parent a56c8d609b
commit b23d8329e7
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ OBJCOPY = $(TOOLPREFIX)objcopy
OBJDUMP = $(TOOLPREFIX)objdump
CFLAGS = -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32 -Werror -fno-omit-frame-pointer
CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector)
ASFLAGS = -m32 -gdwarf-2
ASFLAGS = -m32 -gdwarf-2 -Wa,-divide
# FreeBSD ld wants ``elf_i386_fbsd''
LDFLAGS += -m $(shell $(LD) -V | grep elf_i386 2>/dev/null)