Could you please do this with less code duplication? Like SUBDIRS=xxx if (PPC64) SUBDIRS=$SUBDIRS yyy for tree in $SUBDIRS and the same with build targets. http://reviews.llvm.org/D10033 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/