mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-12 05:52:19 -04:00
19 lines
596 B
Makefile
19 lines
596 B
Makefile
$NetBSD: patch-hotspot_make_solaris_makefiles_adlc.make,v 1.1 2015/07/03 20:40:59 fhajny Exp $
|
|
|
|
GCC support.
|
|
|
|
--- hotspot/make/solaris/makefiles/adlc.make.orig 2013-02-19 23:21:59.000000000 +0000
|
|
+++ hotspot/make/solaris/makefiles/adlc.make
|
|
@@ -75,9 +75,11 @@ endif
|
|
|
|
# CFLAGS_WARN holds compiler options to suppress/enable warnings.
|
|
# Compiler warnings are treated as errors
|
|
+ifeq ("${Platform_compiler}", "sparcWorks")
|
|
ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
|
|
CFLAGS_WARN = +w -errwarn
|
|
endif
|
|
+endif
|
|
CFLAGS += $(CFLAGS_WARN)
|
|
|
|
ifeq ("${Platform_compiler}", "sparcWorks")
|