freebsd.mk (3b02a9c8) freebsd.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

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

147 -Wl,--dynamic-list-cpp-new \
148 -Wl,--dynamic-list-cpp-typeinfo \
149 -Wl,-Bsymbolic-functions \
150
151endif
152
153ifeq ($(gb_DEBUGLEVEL),2)
154gb_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

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

147 -Wl,--dynamic-list-cpp-new \
148 -Wl,--dynamic-list-cpp-typeinfo \
149 -Wl,-Bsymbolic-functions \
150
151endif
152
153ifeq ($(gb_DEBUGLEVEL),2)
154gb_COMPILEROPTFLAGS := -O0
155gb_COMPILEROPT1FLAGS := -O0
155else
156gb_COMPILEROPTFLAGS := -Os
156else
157gb_COMPILEROPTFLAGS := -Os
158gb_COMPILEROPT1FLAGS := -O1
157endif
158
159gb_COMPILERNOOPTFLAGS := -O0
160
161# Helper class
162
163gb_Helper_abbreviate_dirs_native = $(gb_Helper_abbreviate_dirs)
164

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

174# $(call gb_CObject__command,object,relative-source,source,dep-file)
175define gb_CObject__command
176$(call gb_Output_announce,$(2),$(true),C ,3)
177$(call gb_Helper_abbreviate_dirs,\
178 mkdir -p $(dir $(1)) $(dir $(4)) && \
179 $(gb_CC) \
180 $(DEFS) \
181 $(T_CFLAGS) \
159endif
160
161gb_COMPILERNOOPTFLAGS := -O0
162
163# Helper class
164
165gb_Helper_abbreviate_dirs_native = $(gb_Helper_abbreviate_dirs)
166

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

176# $(call gb_CObject__command,object,relative-source,source,dep-file)
177define gb_CObject__command
178$(call gb_Output_announce,$(2),$(true),C ,3)
179$(call gb_Helper_abbreviate_dirs,\
180 mkdir -p $(dir $(1)) $(dir $(4)) && \
181 $(gb_CC) \
182 $(DEFS) \
183 $(T_CFLAGS) \
184 $(CFLAGS) \
182 -c $(3) \
183 -o $(1) \
184 -MMD -MT $(1) \
185 -MF $(4) \
186 -I$(dir $(3)) \
187 $(INCLUDE))
188endef
189

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

199# $(call gb_CxxObject__command,object,relative-source,source,dep-file)
200define gb_CxxObject__command
201$(call gb_Output_announce,$(2),$(true),CXX,3)
202$(call gb_Helper_abbreviate_dirs,\
203 mkdir -p $(dir $(1)) $(dir $(4)) && \
204 $(gb_CXX) \
205 $(DEFS) \
206 $(T_CXXFLAGS) \
185 -c $(3) \
186 -o $(1) \
187 -MMD -MT $(1) \
188 -MF $(4) \
189 -I$(dir $(3)) \
190 $(INCLUDE))
191endef
192

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

202# $(call gb_CxxObject__command,object,relative-source,source,dep-file)
203define gb_CxxObject__command
204$(call gb_Output_announce,$(2),$(true),CXX,3)
205$(call gb_Helper_abbreviate_dirs,\
206 mkdir -p $(dir $(1)) $(dir $(4)) && \
207 $(gb_CXX) \
208 $(DEFS) \
209 $(T_CXXFLAGS) \
210 $(CXXFLAGS) \
207 -c $(3) \
208 -o $(1) \
209 -MMD -MT $(1) \
210 -MF $(4) \
211 -I$(dir $(3)) \
212 $(INCLUDE_STL) $(INCLUDE))
213endef
214

--- 246 unchanged lines hidden ---
211 -c $(3) \
212 -o $(1) \
213 -MMD -MT $(1) \
214 -MF $(4) \
215 -I$(dir $(3)) \
216 $(INCLUDE_STL) $(INCLUDE))
217endef
218

--- 246 unchanged lines hidden ---