comparison make/solaris/makefiles/gcc.make @ 14909:4ca6dc0799b6

Backout jdk9 merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 01 Apr 2014 13:57:07 +0200
parents b6ab2c9abfc5
children 89152779163c
comparison
equal deleted inserted replaced
14908:8db6e76cb658 14909:4ca6dc0799b6
1 # 1 #
2 # Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 # 4 #
5 # This code is free software; you can redistribute it and/or modify it 5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as 6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. 7 # published by the Free Software Foundation.
116 116
117 117
118 # Compiler warnings are treated as errors 118 # Compiler warnings are treated as errors
119 WARNINGS_ARE_ERRORS = -Werror 119 WARNINGS_ARE_ERRORS = -Werror
120 # Enable these warnings. See 'info gcc' about details on these options 120 # Enable these warnings. See 'info gcc' about details on these options
121 WARNING_FLAGS = -Wpointer-arith -Wconversion -Wsign-compare -Wundef -Wformat=2 -Wno-error=format-nonliteral 121 WARNING_FLAGS = -Wpointer-arith -Wconversion -Wsign-compare -Wundef
122 CFLAGS_WARN/DEFAULT = $(WARNINGS_ARE_ERRORS) $(WARNING_FLAGS) 122 CFLAGS_WARN/DEFAULT = $(WARNINGS_ARE_ERRORS) $(WARNING_FLAGS)
123 # Special cases 123 # Special cases
124 CFLAGS_WARN/BYFILE = $(CFLAGS_WARN/$@)$(CFLAGS_WARN/DEFAULT$(CFLAGS_WARN/$@)) 124 CFLAGS_WARN/BYFILE = $(CFLAGS_WARN/$@)$(CFLAGS_WARN/DEFAULT$(CFLAGS_WARN/$@))
125 125
126 # The flags to use for an Optimized g++ build 126 # The flags to use for an Optimized g++ build