blob: 9279333af06be4526ee1aef76a458da6f281e0ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ae,v 1.5 2013/06/15 09:31:05 jperkin Exp $
Additional BSD support.
--- hotspot/make/bsd/makefiles/gcc.make.orig 2013-05-29 03:57:57.000000000 +0000
+++ hotspot/make/bsd/makefiles/gcc.make
@@ -242,6 +242,15 @@ MAPFLAG = -Xlinker --version-script=FILE
#
# Shared Library
#
+
+ifeq ($(OS_VENDOR), NetBSD)
+# XXX tnn fixme: -lgcc_s seems to be needed on NetBSD.
+LFLAGS += -lgcc_s
+endif
+
+# XXX tnn fixme: this probably should go someplace else.
+CFLAGS += -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
+
ifeq ($(OS_VENDOR), Darwin)
# Standard linker flags
LFLAGS +=
|