Mercurial > hg > truffle
comparison make/linux/makefiles/adlc.make @ 603:dbbe28fc66b5
6778669: Patch from Red Hat -- fixes compilation errors
Summary: Some fixes which are required to build on recent GCCs.
Reviewed-by: never, kvn
Contributed-by: langel@redhat.com
author | twisti |
---|---|
date | Fri, 27 Feb 2009 03:35:40 -0800 |
parents | 284d0af00d53 |
children | 7bb995fbd3c0 |
comparison
equal
deleted
inserted
replaced
602:ed6404fac86b | 603:dbbe28fc66b5 |
---|---|
1 # | 1 # |
2 # Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved. | 2 # Copyright 1999-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. |
59 | 59 |
60 # Force assertions on. | 60 # Force assertions on. |
61 CPPFLAGS += -DASSERT | 61 CPPFLAGS += -DASSERT |
62 | 62 |
63 # CFLAGS_WARN holds compiler options to suppress/enable warnings. | 63 # CFLAGS_WARN holds compiler options to suppress/enable warnings. |
64 # Suppress warnings (for now) | 64 # Compiler warnings are treated as errors |
65 CFLAGS_WARN = -w | 65 CFLAGS_WARN = -Werror |
66 CFLAGS += $(CFLAGS_WARN) | 66 CFLAGS += $(CFLAGS_WARN) |
67 | 67 |
68 OBJECTNAMES = \ | 68 OBJECTNAMES = \ |
69 adlparse.o \ | 69 adlparse.o \ |
70 archDesc.o \ | 70 archDesc.o \ |