comparison make/solaris/makefiles/adlc.make @ 614:3db67f76d308

Merge
author acorn
date Thu, 05 Mar 2009 22:07:29 -0500
parents dbbe28fc66b5
children 7bb995fbd3c0
comparison
equal deleted inserted replaced
613:5caef2219893 614:3db67f76d308
1 # 1 #
2 # Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved. 2 # Copyright 1997-2009 Sun Microsystems, Inc. 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.
65 CFLAGS += -library=Cstd -g 65 CFLAGS += -library=Cstd -g
66 LFLAGS += -library=Cstd -g 66 LFLAGS += -library=Cstd -g
67 endif 67 endif
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
71 CFLAGS_WARN = +w -errwarn
70 CFLAGS += $(CFLAGS_WARN) 72 CFLAGS += $(CFLAGS_WARN)
71 73
72 ifeq ("${Platform_compiler}", "sparcWorks") 74 ifeq ("${Platform_compiler}", "sparcWorks")
73 # Enable the following CFLAGS addition if you need to compare the 75 # Enable the following CFLAGS addition if you need to compare the
74 # built ELF objects. 76 # built ELF objects.