nsgmls: Imakefile fixes so it will build
authorJon Trulson <jon@radscan.com>
Wed, 20 Jun 2012 00:04:53 +0000 (18:04 -0600)
committerJon Trulson <jon@radscan.com>
Wed, 20 Jun 2012 00:04:53 +0000 (18:04 -0600)
cde/programs/nsgmls/Imakefile

index e44e352b433b6661184f05510745e7e5b64bb3ef..1255a3dd62d29490f5ee6aa3e91e1a0498215c24 100644 (file)
@@ -77,7 +77,7 @@ STLIBCENV =
 M4 = /bin/m4
 #endif
 
-#if defined(LinuxArchitecture(
+#if defined(LinuxArchitecture)
 
 /*
  * put cpp directives here rather than in CXXDEFINES because
@@ -85,13 +85,13 @@ M4 = /bin/m4
  * but they are needed there to instantiate templates
  */
 CXXOPTIONS = \
-  -DSP_VOLATILE= -DSP_CONST= \
-  -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
+  -DSP_VOLATILE=volatile -DSP_CONST=const -DSP_ANSI_CLASS_INST \
+  -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST -fno-implicit-templates
 
 /*
  * Flags passed into compile step when doing manual template instantiation.
  */
-CXXTEMPLATEFLAGS =
+CXXTEMPLATEFLAGS = -fno-implicit-templates
 
 M4 = /usr/bin/m4