LinkTarget.mk (8e6bd3e9) | LinkTarget.mk (e10cbedd) |
---|---|
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 --- 466 unchanged lines hidden (view full) --- 475$(call gb_LinkTarget_get_target,$(1)) : T_OBJCXXFLAGS := $(2) 476ifeq ($(gb_FULLDEPS),$(true)) 477$(call gb_LinkTarget_get_dep_target,$(1)) : T_OBJCXXFLAGS := $(2) 478endif 479endif 480endef 481 482define gb_LinkTarget_set_c_optimization | 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 --- 466 unchanged lines hidden (view full) --- 475$(call gb_LinkTarget_get_target,$(1)) : T_OBJCXXFLAGS := $(2) 476ifeq ($(gb_FULLDEPS),$(true)) 477$(call gb_LinkTarget_get_dep_target,$(1)) : T_OBJCXXFLAGS := $(2) 478endif 479endif 480endef 481 482define gb_LinkTarget_set_c_optimization |
483$(call gb_CObject_get_target,$(1)) : CFLAGS := $(filter-out $(gb_COMPILEROPTFLAGS),$(CFLAGS)) $(2) | 483$(foreach object,$(1),$(eval $(call gb_CObject_get_target,$(object)) : CFLAGS := $(filter-out $(gb_COMPILEROPTFLAGS),$(CFLAGS)) $(2))) |
484endef 485 486define gb_LinkTarget_set_cxx_optimization | 484endef 485 486define gb_LinkTarget_set_cxx_optimization |
487$(call gb_CxxObject_get_target,$(1)) : CXXFLAGS := $(filter-out $(gb_COMPILEROPTFLAGS),$(CXXFLAGS)) $(2) | 487$(foreach object,$(1),$(eval $(call gb_CxxObject_get_target,$(object)) : CXXFLAGS := $(filter-out $(gb_COMPILEROPTFLAGS),$(CXXFLAGS)) $(2))) |
488endef 489 490define gb_LinkTarget_set_gencxx_optimization | 488endef 489 490define gb_LinkTarget_set_gencxx_optimization |
491$(call gb_GenCxxObject_get_target,$(1)) : CXXFLAGS := $(filter-out $(gb_COMPILEROPTFLAGS),$(CXXFLAGS)) $(2) | 491$(foreach object,$(1),$(eval $(call gb_GenCxxObject_get_target,$(object)) : CXXFLAGS := $(filter-out $(gb_COMPILEROPTFLAGS),$(CXXFLAGS)) $(2))) |
492endef 493 494define gb_LinkTarget_set_objcxx_optimization | 492endef 493 494define gb_LinkTarget_set_objcxx_optimization |
495$(call gb_ObjCxxObject_get_target,$(1)) : OBJCXXFLAGS := $(filter-out $(gb_COMPILEROPTFLAGS),$(OBJCXXFLAGS)) $(2) | 495$(foreach object,$(1),$(eval $(call gb_ObjCxxObject_get_target,$(object)) : OBJCXXFLAGS := $(filter-out $(gb_COMPILEROPTFLAGS),$(OBJCXXFLAGS)) $(2))) |
496endef 497 498define gb_LinkTarget_set_include 499$(call gb_LinkTarget_get_headers_target,$(1)) \ 500$(call gb_LinkTarget_get_target,$(1)) : INCLUDE := $(2) 501ifeq ($(gb_FULLDEPS),$(true)) 502$(call gb_LinkTarget_get_dep_target,$(1)) : INCLUDE := $(2) 503endif --- 275 unchanged lines hidden --- | 496endef 497 498define gb_LinkTarget_set_include 499$(call gb_LinkTarget_get_headers_target,$(1)) \ 500$(call gb_LinkTarget_get_target,$(1)) : INCLUDE := $(2) 501ifeq ($(gb_FULLDEPS),$(true)) 502$(call gb_LinkTarget_get_dep_target,$(1)) : INCLUDE := $(2) 503endif --- 275 unchanged lines hidden --- |