Displaying 1 result from an estimated 1 matches for "tool_cflags".
Did you mean:
boot_cflags
2006 Oct 17
4
[PATCH] Fix tools build on Solaris
...atures such as bool, or expect certain functions.
Fix the CFLAGS to enable 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
INS...