Add an isAggregateType predicate.
[oota-llvm.git] / Makefile.rules
index 55d4d1b703823b83e09868ce393fce31e4379911..c74c46c56c5ed2b8aeb7374baf35e4e1b7df7c70 100644 (file)
@@ -451,6 +451,11 @@ ifdef UNIVERSAL
   DISABLE_AUTO_DEPENDENCIES=1
 endif
 
+# Solaris requires the following flags to compile
+ifeq ($(OS),SunOS)
+CXX.Flags += -D_POSIX_C_SOURCE=199506L -U_XOPEN_SOURCE 
+endif
+
 LD.Flags      += -L$(LibDir) -L$(LLVMLibDir) 
 CPP.BaseFlags += -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
 # All -I flags should go here, so that they don't confuse llvm-config.