aboutsummaryrefslogtreecommitdiffstats
path: root/config/SunOS.mk
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-17 17:29:19 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-17 17:29:19 +0100
commita36c8be096210ffb6e81b8ffdc7cad8ffad747d2 (patch)
treebe1866ac1b7b4a8738f07ec4d7a95332b9fc7e23 /config/SunOS.mk
parent37dbdb0a00d857c0da88724a0f728edbfb7d15bb (diff)
downloadxen-a36c8be096210ffb6e81b8ffdc7cad8ffad747d2.tar.gz
xen-a36c8be096210ffb6e81b8ffdc7cad8ffad747d2.tar.bz2
xen-a36c8be096210ffb6e81b8ffdc7cad8ffad747d2.zip
[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>
Diffstat (limited to 'config/SunOS.mk')
-rw-r--r--config/SunOS.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/SunOS.mk b/config/SunOS.mk
index e309138342..d18ad14bd9 100644
--- a/config/SunOS.mk
+++ b/config/SunOS.mk
@@ -32,3 +32,5 @@ else
# Less than -O1 produces bad code and large stack frames
CFLAGS ?= -O1 -fno-omit-frame-pointer
endif
+
+CFLAGS += -Wa,--divide