linux.mk (3b02a9c8) linux.mk (8e6bd3e9)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 144 unchanged lines hidden (view full) ---

153gb_DEBUG_CFLAGS := -ggdb1 -finline-limit=0 -fno-inline -fno-default-inline
154else
155gb_DEBUG_CFLAGS := -ggdb3 -finline-limit=0 -fno-inline -fno-default-inline
156endif
157endif
158
159ifeq ($(gb_DEBUGLEVEL),2)
160gb_COMPILEROPTFLAGS := -O0
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 144 unchanged lines hidden (view full) ---

153gb_DEBUG_CFLAGS := -ggdb1 -finline-limit=0 -fno-inline -fno-default-inline
154else
155gb_DEBUG_CFLAGS := -ggdb3 -finline-limit=0 -fno-inline -fno-default-inline
156endif
157endif
158
159ifeq ($(gb_DEBUGLEVEL),2)
160gb_COMPILEROPTFLAGS := -O0
161gb_COMPILEROPT1FLAGS := -O0
161else
162gb_COMPILEROPTFLAGS := -Os
162else
163gb_COMPILEROPTFLAGS := -Os
164gb_COMPILEROPT1FLAGS := -O1
163endif
164
165gb_COMPILERNOOPTFLAGS := -O0
166
167# Helper class
168
169gb_Helper_abbreviate_dirs_native = $(gb_Helper_abbreviate_dirs)
170

--- 9 unchanged lines hidden (view full) ---

180# $(call gb_CObject__command,object,relative-source,source,dep-file)
181define gb_CObject__command
182$(call gb_Output_announce,$(2),$(true),C ,3)
183$(call gb_Helper_abbreviate_dirs,\
184 mkdir -p $(dir $(1)) $(dir $(4)) && \
185 $(gb_CC) \
186 $(DEFS) \
187 $(T_CFLAGS) \
165endif
166
167gb_COMPILERNOOPTFLAGS := -O0
168
169# Helper class
170
171gb_Helper_abbreviate_dirs_native = $(gb_Helper_abbreviate_dirs)
172

--- 9 unchanged lines hidden (view full) ---

182# $(call gb_CObject__command,object,relative-source,source,dep-file)
183define gb_CObject__command
184$(call gb_Output_announce,$(2),$(true),C ,3)
185$(call gb_Helper_abbreviate_dirs,\
186 mkdir -p $(dir $(1)) $(dir $(4)) && \
187 $(gb_CC) \
188 $(DEFS) \
189 $(T_CFLAGS) \
190 $(CFLAGS) \
188 -c $(3) \
189 -o $(1) \
190 -MMD -MT $(1) \
191 -MF $(4) \
192 -I$(dir $(3)) \
193 $(INCLUDE))
194endef
195

--- 9 unchanged lines hidden (view full) ---

205# $(call gb_CxxObject__command,object,relative-source,source,dep-file)
206define gb_CxxObject__command
207$(call gb_Output_announce,$(2),$(true),CXX,3)
208$(call gb_Helper_abbreviate_dirs,\
209 mkdir -p $(dir $(1)) $(dir $(4)) && \
210 $(gb_CXX) \
211 $(DEFS) \
212 $(T_CXXFLAGS) \
191 -c $(3) \
192 -o $(1) \
193 -MMD -MT $(1) \
194 -MF $(4) \
195 -I$(dir $(3)) \
196 $(INCLUDE))
197endef
198

--- 9 unchanged lines hidden (view full) ---

208# $(call gb_CxxObject__command,object,relative-source,source,dep-file)
209define gb_CxxObject__command
210$(call gb_Output_announce,$(2),$(true),CXX,3)
211$(call gb_Helper_abbreviate_dirs,\
212 mkdir -p $(dir $(1)) $(dir $(4)) && \
213 $(gb_CXX) \
214 $(DEFS) \
215 $(T_CXXFLAGS) \
216 $(CXXFLAGS) \
213 -c $(3) \
214 -o $(1) \
215 -MMD -MT $(1) \
216 -MF $(4) \
217 -I$(dir $(3)) \
218 $(INCLUDE_STL) $(INCLUDE))
219endef
220

--- 230 unchanged lines hidden ---
217 -c $(3) \
218 -o $(1) \
219 -MMD -MT $(1) \
220 -MF $(4) \
221 -I$(dir $(3)) \
222 $(INCLUDE_STL) $(INCLUDE))
223endef
224

--- 230 unchanged lines hidden ---