diff options
author | Eike Rathke <erack@redhat.com> | 2012-01-13 22:43:34 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-01-13 22:43:57 +0100 |
commit | f212a2a7c4380a107785a3fba7b48bf38937842e (patch) | |
tree | 96e4ffcaefe5e4075323be57fb28896237cc306a /solenv | |
parent | e85bf5d40d66a52898aa6b6bff3f537372a9a0a8 (diff) |
ensure that /usr/include is _appended_ to INCLUDE
At least with gcc 4.6.2 the situation was that if /usr/include was missing
from the -I... includes, header files were pulled from /usr/include/
instead of solver/$INPATH/inc/external/
This clearly makes a difference for not --with-system-... libs where the
internal version is to be used.
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/com_GCC_defs.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index 33aa9369a2da..7dddcbb983c7 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -129,7 +129,7 @@ gb_COMPILEROPTFLAGS := $(gb_COMPILERDEFAULTOPTFLAGS) endif gb_COMPILERNOOPTFLAGS := -O0 -gb_LinkTarget_INCLUDE := $(filter-out %/stl, $(subst -I. , ,$(SOLARINC))) +gb_LinkTarget_INCLUDE := $(filter-out %/stl, $(subst -I. , ,$(SOLARINC))) -I$(SYSBASE)/usr/include gb_LinkTarget_INCLUDE_STL := $(filter %/stl, $(subst -I. , ,$(SOLARINC))) |