diff options
author | Eike Rathke <erack@redhat.com> | 2012-01-13 22:41:20 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-01-13 22:42:32 +0100 |
commit | 6ecf6ea77f36a444f985fed25a0d0502f5ae8ac4 (patch) | |
tree | 20c215f36534e87fff70cae4ad241830eeaf3af0 /solenv | |
parent | 90a94c55077cff0f0077ff46618365970c07223f (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))) |