diff options
author | Don Lewis <truckman@apache.org> | 2017-12-15 14:54:32 +0000 |
---|---|---|
committer | Don Lewis <truckman@apache.org> | 2017-12-15 14:54:32 +0000 |
commit | 53d9f415b2985f3784fabc9e72c3b486dad5efc8 (patch) | |
tree | 0018da84995481fd5b8608ae0798fe32347bf21d /framework | |
parent | 14f7045e998e64589483fa99b06bb4805477dad3 (diff) |
Enhance gb_LinkTarget_set_*_optimization functions to allow multiple
targets to be specified.
Convert optimization overrides in the gbuild library makefiles to
use gb_LinkTarget_set_*_optimization.
There should be no functional change.
Notes
Notes:
reject: convenient workarounds in the build system for toolchain bugs is the road to a hell of buggy toolchains
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Library_fwk.mk | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/framework/Library_fwk.mk b/framework/Library_fwk.mk index 449800331fce..bfcf494d50e6 100644 --- a/framework/Library_fwk.mk +++ b/framework/Library_fwk.mk @@ -61,11 +61,6 @@ $(eval $(call gb_Library_add_linked_libs,fwk,\ $(gb_STDLIBS) \ )) -# i126622 - Base 4.1.2 does not open Tables and Queries in Mac OSX -ifeq ($(OS),MACOSX) - $(call gb_LinkTarget_set_cxx_optimization,framework/source/loadenv/loadenv,$(gb_COMPILEROPT1FLAGS)) -endif - $(eval $(call gb_Library_add_exception_objects,fwk,\ framework/source/accelerators/acceleratorcache \ framework/source/accelerators/acceleratorconfiguration \ @@ -195,4 +190,11 @@ $(eval $(call gb_Library_add_exception_objects,fwk,\ framework/source/xml/imagesdocumenthandler \ )) +# i126622 - Base 4.1.2 does not open Tables and Queries in Mac OSX +ifeq ($(OS),MACOSX) +$(eval $(call gb_LinkTarget_set_cxx_optimization, \ + framework/source/loadenv/loadenv, $(gb_COMPILEROPT1FLAGS) \ +)) +endif + # vim: set noet sw=4 ts=4: |