forked from OSchip/llvm-project
				
			Set UNIVERSAL_ARCH value.
Fixes build failure when target is i386. llvm-svn: 57211
This commit is contained in:
		
							parent
							
								
									94d14f2d45
								
							
						
					
					
						commit
						3cda64abd4
					
				| 
						 | 
					@ -157,7 +157,8 @@ rm -rf * || exit 1
 | 
				
			||||||
cd $DIR/obj-llvm || exit 1
 | 
					cd $DIR/obj-llvm || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install the tree into the destination directory.
 | 
					# Install the tree into the destination directory.
 | 
				
			||||||
make $LOCAL_MAKEFLAGS $OPTIMIZE_OPTS UNIVERSAL=1 OPTIMIZE_OPTION='-O2' install
 | 
					make $LOCAL_MAKEFLAGS $OPTIMIZE_OPTS UNIVERSAL=1 UNIVERSAL_ARCH="$TARGETS" \
 | 
				
			||||||
 | 
					    OPTIMIZE_OPTION='-O2' install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if ! test $? == 0 ; then
 | 
					if ! test $? == 0 ; then
 | 
				
			||||||
    echo "error: LLVM 'make install' failed!"
 | 
					    echo "error: LLVM 'make install' failed!"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue