< prev index next >
make/solaris/makefiles/adlc.make
Print this page
@@ -69,10 +69,16 @@
# We need libCstd.so for adlc
CFLAGS += -library=Cstd -g
LFLAGS += -library=Cstd -g
endif
+# This workaround is needed for SS12u4 when compiling adlparse.cpp which
+# otherwise will not find RegisterForm::addRegClass<RegClass>(const char*)
+ifeq ($(COMPILER_REV_NUMERIC), 513)
+ CFLAGS += -template=extdef
+endif
+
# CFLAGS_WARN holds compiler options to suppress/enable warnings.
# Compiler warnings are treated as errors
ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
CFLAGS_WARN = +w -errwarn
endif
< prev index next >