57
58
59 #------------------------------------------------------------------------
60 # Compiler flags
61
62 # position-independent code
63 PICFLAG = -qpic=large
64
65 VM_PICFLAG/LIBJVM = $(PICFLAG)
66 VM_PICFLAG/AOUT =
67 VM_PICFLAG = $(VM_PICFLAG/$(LINK_INTO))
68
69 CFLAGS += $(VM_PICFLAG)
70 CFLAGS += -qnortti
71 CFLAGS += -qnoeh
72
73 CFLAGS += -D_REENTRANT
74 # no xlc counterpart for -fcheck-new
75 # CFLAGS += -fcheck-new
76
77 ARCHFLAG = -q64
78
79 CFLAGS += $(ARCHFLAG)
80 AOUT_FLAGS += $(ARCHFLAG)
81 LFLAGS += $(ARCHFLAG)
82 ASFLAGS += $(ARCHFLAG)
83
84 # Use C++ Interpreter
85 ifdef CC_INTERP
86 CFLAGS += -DCC_INTERP
87 endif
88
89 # Keep temporary files (.ii, .s)
90 # no counterpart on xlc for -save-temps, -pipe
91
92 # Compiler warnings are treated as errors
93 # Do not treat warnings as errors
94 # WARNINGS_ARE_ERRORS = -Werror
95 # Except for a few acceptable ones
96 # ACCEPTABLE_WARNINGS = -Wpointer-arith -Wconversion -Wsign-compare
|
57
58
59 #------------------------------------------------------------------------
60 # Compiler flags
61
62 # position-independent code
63 PICFLAG = -qpic=large
64
65 VM_PICFLAG/LIBJVM = $(PICFLAG)
66 VM_PICFLAG/AOUT =
67 VM_PICFLAG = $(VM_PICFLAG/$(LINK_INTO))
68
69 CFLAGS += $(VM_PICFLAG)
70 CFLAGS += -qnortti
71 CFLAGS += -qnoeh
72
73 CFLAGS += -D_REENTRANT
74 # no xlc counterpart for -fcheck-new
75 # CFLAGS += -fcheck-new
76
77 # We need to define this on the command line if we want to use the the
78 # predefined format specifiers from "inttypes.h". Otherwise system headrs
79 # can indirectly include inttypes.h before we define __STDC_FORMAT_MACROS
80 # in globalDefinitions.hpp
81 CFLAGS += -D__STDC_FORMAT_MACROS
82
83 ARCHFLAG = -q64
84
85 CFLAGS += $(ARCHFLAG)
86 AOUT_FLAGS += $(ARCHFLAG)
87 LFLAGS += $(ARCHFLAG)
88 ASFLAGS += $(ARCHFLAG)
89
90 # Use C++ Interpreter
91 ifdef CC_INTERP
92 CFLAGS += -DCC_INTERP
93 endif
94
95 # Keep temporary files (.ii, .s)
96 # no counterpart on xlc for -save-temps, -pipe
97
98 # Compiler warnings are treated as errors
99 # Do not treat warnings as errors
100 # WARNINGS_ARE_ERRORS = -Werror
101 # Except for a few acceptable ones
102 # ACCEPTABLE_WARNINGS = -Wpointer-arith -Wconversion -Wsign-compare
|