diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-20 13:10:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:49:48 +0100 |
commit | 1c8402465cfd4df862409dc310f5f099d044c4d8 (patch) | |
tree | 3d23d37dc49aeaa6fe2c9f2fbbc3450bf47b3271 /solenv/gbuild/platform | |
parent | 8a467da032954f4591ed30c0ca3a9bc05b343e06 (diff) |
Don't unnecessarily(?) drop compiler flags when rewriting
Change-Id: I674d1eeecee593e0d6ed83c34e2afa0ccad633b0
Diffstat (limited to 'solenv/gbuild/platform')
-rw-r--r-- | solenv/gbuild/platform/com_GCC_class.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/solenv/gbuild/platform/com_GCC_class.mk b/solenv/gbuild/platform/com_GCC_class.mk index 88542e1244a8..2308af817905 100644 --- a/solenv/gbuild/platform/com_GCC_class.mk +++ b/solenv/gbuild/platform/com_GCC_class.mk @@ -72,11 +72,14 @@ $(call gb_Helper_abbreviate_dirs,\ ICECC=no CCACHE_DISABLE=1 \ $(gb_CC) \ $(DEFS) \ + $(gb_LTOFLAGS) \ + $(if $(VISIBILITY),,$(gb_VISIBILITY_FLAGS)) \ + $(if $(WARNINGS_NOT_ERRORS),,$(gb_CFLAGS_WERROR)) \ + $(gb_COMPILER_PLUGINS) \ $(T_CFLAGS) $(T_CFLAGS_APPEND) \ -c $(2) \ -I$(dir $(2)) \ $(INCLUDE) \ - $(gb_COMPILER_PLUGINS) \ ) endef @@ -113,11 +116,14 @@ $(call gb_Helper_abbreviate_dirs,\ ICECC=no CCACHE_DISABLE=1 \ $(gb_CXX) \ $(DEFS) \ + $(gb_LTOFLAGS) \ + $(if $(VISIBILITY),,$(gb_VISIBILITY_FLAGS)) \ + $(if $(WARNINGS_NOT_ERRORS),,$(gb_CXXFLAGS_WERROR)) \ + $(gb_COMPILER_PLUGINS) \ $(T_CXXFLAGS) $(T_CXXFLAGS_APPEND) \ -c $(2) \ -I$(dir $(2)) \ $(INCLUDE) \ - $(gb_COMPILER_PLUGINS) \ ) endef |