ia64/xen-unstable

view config/SunOS.mk @ 11846:3b27623dd319

[SOLARIS] On sysv platforms, gas defaults '/' to a comment
character. Pass in the right option to disable this behaviour, so
Xen's semantics of "divide" apply.

Signed-off-by: John Levon <john.levon@sun.com>
author kfraser@localhost.localdomain
date Tue Oct 17 17:29:19 2006 +0100 (2006-10-17)
parents 3ccd876603a0
children 1e6d52d06fa4
line source
1 # -*- mode: Makefile; -*-
3 AS = $(CROSS_COMPILE)gas
4 LD = $(CROSS_COMPILE)gld
5 CC = $(CROSS_COMPILE)gcc
6 CPP = $(CROSS_COMPILE)gcc -E
7 AR = $(CROSS_COMPILE)gar
8 RANLIB = $(CROSS_COMPILE)granlib
9 NM = $(CROSS_COMPILE)gnm
10 STRIP = $(CROSS_COMPILE)gstrip
11 OBJCOPY = $(CROSS_COMPILE)gobjcopy
12 OBJDUMP = $(CROSS_COMPILE)gobjdump
14 GREP = ggrep
15 SHELL = bash
17 INSTALL = ginstall
18 INSTALL_DIR = $(INSTALL) -d -m0755
19 INSTALL_DATA = $(INSTALL) -m0644
20 INSTALL_PROG = $(INSTALL) -m0755
22 LIB64DIR = lib/amd64
24 SOCKET_LIBS = -lsocket
25 SONAME_LDFLAG = -h
26 SHLIB_CFLAGS = -static-libgcc -shared
28 ifneq ($(debug),y)
29 # Optimisation flags are overridable
30 CFLAGS ?= -O2 -fno-omit-frame-pointer
31 else
32 # Less than -O1 produces bad code and large stack frames
33 CFLAGS ?= -O1 -fno-omit-frame-pointer
34 endif
36 CFLAGS += -Wa,--divide