2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Solaris G++ bug workaround

[SVN r14851]
This commit is contained in:
Dave Abrahams
2002-08-14 20:24:22 +00:00
parent da38c67930
commit 72049e24ea
2 changed files with 6 additions and 2 deletions

View File

@@ -85,6 +85,7 @@ else if $(UNIX)
flags gcc CFLAGS <threading>multi : -pthreads ;
flags gcc LINKFLAGS <threading>multi : -pthreads ;
flags gcc FINDLIBS <threading>multi : rt ;
G++_SYSINCLUDE_FLAG = -I ; # Sun G++ seems to have a problem with -isystem
NO_GNU_LN = true ; # sun seems not to use the GNU linker with gcc
}
case BeOS :
@@ -107,6 +108,7 @@ else if $(UNIX)
}
}
}
G++_SYSINCLUDE_FLAG ?= -isystem ;
# Set architecture/instruction-set options.
#
@@ -356,7 +358,7 @@ rule C++-action
actions gcc-C++-action
{
$(GCC_BIN_DIRECTORY)$(GXX) -c -Wall -ftemplate-depth-100 -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -isystem$(SPACE)"$(STDHDRS)" -o "$(<)" "$(>)"
$(GCC_BIN_DIRECTORY)$(GXX) -c -Wall -ftemplate-depth-100 -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" $(G++_SYSINCLUDE_FLAG)$(SPACE)"$(STDHDRS)" -o "$(<)" "$(>)"
}
#### Archive ####

View File

@@ -85,6 +85,7 @@ else if $(UNIX)
flags gcc CFLAGS <threading>multi : -pthreads ;
flags gcc LINKFLAGS <threading>multi : -pthreads ;
flags gcc FINDLIBS <threading>multi : rt ;
G++_SYSINCLUDE_FLAG = -I ; # Sun G++ seems to have a problem with -isystem
NO_GNU_LN = true ; # sun seems not to use the GNU linker with gcc
}
case BeOS :
@@ -107,6 +108,7 @@ else if $(UNIX)
}
}
}
G++_SYSINCLUDE_FLAG ?= -isystem ;
# Set architecture/instruction-set options.
#
@@ -356,7 +358,7 @@ rule C++-action
actions gcc-C++-action
{
$(GCC_BIN_DIRECTORY)$(GXX) -c -Wall -ftemplate-depth-100 -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -isystem$(SPACE)"$(STDHDRS)" -o "$(<)" "$(>)"
$(GCC_BIN_DIRECTORY)$(GXX) -c -Wall -ftemplate-depth-100 -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" $(G++_SYSINCLUDE_FLAG)$(SPACE)"$(STDHDRS)" -o "$(<)" "$(>)"
}
#### Archive ####