Merge branch 'master' into cde-next
This commit is contained in:
@@ -734,7 +734,7 @@ FindDialog::compareMessage(DtMailMessageHandle handle)
|
||||
// See if string 'toFind' is anyware in string 'str'.
|
||||
// A case-insensitive version of strstr().
|
||||
//
|
||||
static const char *
|
||||
const char *
|
||||
FindDialog::strcasestr(const char *str, const char *toFind)
|
||||
{
|
||||
const char *result = NULL; // Default to not found.
|
||||
|
||||
@@ -62,6 +62,12 @@ M4 = /bin/m4
|
||||
|
||||
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
|
||||
|
||||
#if defined(__llvm__)
|
||||
NOIMPLTEMPLATES =
|
||||
#else
|
||||
NOIMPLTEMPLATES = -fno-implicit-templates
|
||||
#endif
|
||||
|
||||
/*
|
||||
* put cpp directives here rather than in CXXDEFINES because
|
||||
* for some reason the CXXDEFINES aren't passed to the link phase
|
||||
@@ -69,12 +75,12 @@ M4 = /bin/m4
|
||||
*/
|
||||
CXXOPTIONS = \
|
||||
-DSP_VOLATILE=volatile -DSP_CONST=const -DSP_ANSI_CLASS_INST \
|
||||
-DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST -fno-implicit-templates
|
||||
-DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST $(NOIMPLTEMPLATES)
|
||||
|
||||
/*
|
||||
* Flags passed into compile step when doing manual template instantiation.
|
||||
*/
|
||||
CXXTEMPLATEFLAGS = -fno-implicit-templates
|
||||
CXXTEMPLATEFLAGS = $(NOIMPLTEMPLATES)
|
||||
|
||||
M4 = /usr/bin/m4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user