comparison make/bsd/makefiles/adlc.make @ 10398:2cb5d5f6d5e5

8015252: Enable HotSpot build with Clang Reviewed-by: twisti, dholmes, kvn
author simonis
date Tue, 04 Jun 2013 22:16:15 -0700
parents b9a9ed0f8eeb
children ce8969c36762
comparison
equal deleted inserted replaced
10397:075ea888b039 10398:2cb5d5f6d5e5
67 CXXFLAGS += -DASSERT 67 CXXFLAGS += -DASSERT
68 68
69 # CFLAGS_WARN holds compiler options to suppress/enable warnings. 69 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
70 # Compiler warnings are treated as errors 70 # Compiler warnings are treated as errors
71 ifneq ($(COMPILER_WARNINGS_FATAL),false) 71 ifneq ($(COMPILER_WARNINGS_FATAL),false)
72 CFLAGS_WARN = -Werror 72 CFLAGS_WARN = $(WARNINGS_ARE_ERRORS)
73 endif 73 endif
74 CFLAGS += $(CFLAGS_WARN) 74 CFLAGS += $(CFLAGS_WARN)
75 75
76 OBJECTNAMES = \ 76 OBJECTNAMES = \
77 adlparse.o \ 77 adlparse.o \