Displaying 2 results from an estimated 2 matches for "caflag".
Did you mean:
cflag
2006 Oct 17
2
[PATCH] as fixes for Solaris
...t
option to disable this behaviour, so Xen''s semantics of "divide" apply.
Signed-off-by: John Levon <john.levon@sun.com>
diff --git a/config/SunOS.mk b/config/SunOS.mk
--- a/config/SunOS.mk
+++ b/config/SunOS.mk
@@ -35,4 +35,6 @@ CFLAGS += -g
CFLAGS += -g
endif
+CAFLAGS = -Wa,--divide
+
CONFIG_MBOOTPACK_OS = n
diff --git a/xen/Rules.mk b/xen/Rules.mk
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -99,10 +99,10 @@ _clean_%/: FORCE
$(MAKE) -f $(BASEDIR)/Rules.mk -C $* clean
%.o: %.c $(HDRS) Makefile
- $(CC) $(CFLAGS) -c $< -o $@
+ $(CC) $(CFLAGS) $(CAFLAGS) -c $...
2006 Oct 17
4
[PATCH] Fix tools build on Solaris
...le these on Solaris.
Signed-off-by: John Levon <john.levon@sun.com>
diff --git a/config/SunOS.mk b/config/SunOS.mk
--- a/config/SunOS.mk
+++ b/config/SunOS.mk
@@ -35,6 +35,8 @@ CFLAGS += -g
CFLAGS += -g
endif
+TOOL_CFLAGS += -std=gnu99 -D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__
+
CAFLAGS = -Wa,--divide
CONFIG_MBOOTPACK_OS = n
diff --git a/tools/blktap/drivers/Makefile b/tools/blktap/drivers/Makefile
--- a/tools/blktap/drivers/Makefile
+++ b/tools/blktap/drivers/Makefile
@@ -8,6 +8,7 @@ INST_DIR = /usr/sbin
INST_DIR = /usr/sbin
LIBAIO_DIR = ../../libaio/src
+CFLAGS +=...