macosx.mk (33b74116) macosx.mk (e0ac9675)
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

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

111# (see toolkit module for a case where it is necessary to do it this way)
112gb_OBJCXXFLAGS := -x objective-c++ -fobjc-exceptions
113
114ifneq ($(MACOSX_DEPLOYMENT_TARGET),)
115 gb_CXXFLAGS += -DMAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_$(subst .,_,$(MACOSX_DEPLOYMENT_TARGET))
116endif
117
118ifneq ($(EXTERNAL_WARNINGS_NOT_ERRORS),TRUE)
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

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

111# (see toolkit module for a case where it is necessary to do it this way)
112gb_OBJCXXFLAGS := -x objective-c++ -fobjc-exceptions
113
114ifneq ($(MACOSX_DEPLOYMENT_TARGET),)
115 gb_CXXFLAGS += -DMAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_$(subst .,_,$(MACOSX_DEPLOYMENT_TARGET))
116endif
117
118ifneq ($(EXTERNAL_WARNINGS_NOT_ERRORS),TRUE)
119gb_CFLAGS_WERROR := -Werror
120gb_CXXFLAGS_WERROR := -Werror
119gb_CFLAGS_WERROR := -Werror -Wno-error=deprecated
120gb_CXXFLAGS_WERROR := -Werror -Wno-error=deprecated
121endif
122
123gb_LinkTarget_EXCEPTIONFLAGS := \
124 -DEXCEPTIONS_ON \
125 -fexceptions
126
127ifeq ($(COM),GCC)
128 gb_LinkTarget_EXCEPTIONFLAGS += -fno-enforce-eh-specs

--- 333 unchanged lines hidden ---
121endif
122
123gb_LinkTarget_EXCEPTIONFLAGS := \
124 -DEXCEPTIONS_ON \
125 -fexceptions
126
127ifeq ($(COM),GCC)
128 gb_LinkTarget_EXCEPTIONFLAGS += -fno-enforce-eh-specs

--- 333 unchanged lines hidden ---