aboutsummaryrefslogtreecommitdiff
path: root/java/jdk13/files/patch-common::Defs-bsd.gmk
blob: d0c78fad9bafc996fcfa0a6529d2fe6920e55bc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

$FreeBSD$

--- common/Defs-bsd.gmk.orig	Mon Sep 10 17:02:16 2001
+++ common/Defs-bsd.gmk	Mon Sep 10 17:02:42 2001
@@ -128,7 +128,7 @@
 ifeq ($(TRUE_PLATFORM), NetBSD)
 DEVTOOLS_PATH = /usr/pkg/bin/
 else
-DEVTOOLS_PATH = /usr/local/bin/
+DEVTOOLS_PATH = $(LOCALBASE)/bin/
 endif
 # Allow the user to override the default value...
 ifdef ALT_DEVTOOLS_PATH
@@ -221,10 +221,10 @@
 else # ARCH
 CFLAGS_COMMON   = $(GCC_WARNINGS)
 endif # ARCH
-CFLAGS_OPT      = $(POPT)
+CFLAGS_OPT      = $(POPT) $(SYS_CFLAGS)
 CFLAGS_DBG      = -g3
 CXXFLAGS_COMMON = $(GCC_WARNINGS)
-CXXFLAGS_OPT	= $(POPT)
+CXXFLAGS_OPT	= $(POPT) $(SYS_CFLAGS)
 CXXFLAGS_DBG	= -g3
 
 CPPFLAGS_COMMON = -D$(ARCH) -DARCH='"$(ARCH)"' -DSOLARIS2 $(VERSION_DEFINES) \