Kaydet (Commit) 91d3c111 authored tarafından Eike Rathke's avatar Eike Rathke

grml.. back to the drawing board

Reverted
80f60ef540528ec5304b9fb9624a7ff1b077f108
cf1f87948bcf9b8edf8487fa7938a928cfed8f2f
as also MinGW bails out. Don't add yet more quirks, keep in mind the faulty
behavior and hope for the best until solved.
üst ebb95b5a
......@@ -129,18 +129,7 @@ gb_COMPILEROPTFLAGS := $(gb_COMPILERDEFAULTOPTFLAGS)
endif
gb_COMPILERNOOPTFLAGS := -O0
# 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/
# One should not add /usr/include, but ... have this as workaround now.
# However, MacOSX would bail out with lots of deprecated methods as
# /usr/include is not what's used on Mac.
ifeq ($(OS_FOR_BUILD),MACOSX)
gb_LinkTarget_INCLUDE := $(filter-out %/stl, $(subst -I. , ,$(SOLARINC)))
else
gb_LinkTarget_INCLUDE := $(filter-out %/stl, $(subst -I. , ,$(SOLARINC))) -I$(SYSBASE)/usr/include
endif
gb_LinkTarget_INCLUDE_STL := $(filter %/stl, $(subst -I. , ,$(SOLARINC)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment