source:
patches/lilo-22.7.3-cross_compile_x86_64-1.patch@
ad86d69
Last change on this file since ad86d69 was f74ae22, checked in by , 18 years ago | |
---|---|
|
|
File size: 1.0 KB |
-
lilo-22.7.
Submitted By: Ken Moffat <ken at linuxfromscratch dot org> Date: 2006-03-11 Initial Package Version: 22.7.1 Upstream Status: Not submitted, purely for cross-compiling for x86_64(-64) Origin: Self Description: Allows lilo-static to be built with a cross-compiler (plus cross as86, ld86). diff -Naur lilo-22.7.1-vanilla/Makefile lilo-22.7.1/Makefile
old new 94 94 95 95 96 96 SHELL=/bin/sh 97 CC=gcc97 #CC=gcc 98 98 CPP=$(CC) -E 99 AS86= as86 -0 -a100 LD86= ld86 -099 AS86=x86_64-unknown-linux-gnu-as86 -0 -a 100 LD86=x86_64-unknown-linux-gnu-ld86 -0 101 101 NASM=nasm 102 102 103 103 CFLAGS=$(OPT) -Wall -g $(PCONFIG) … … 424 424 mv tmp_make Makefile 425 425 426 426 version: common.c lilo.h common.h 427 $(CC)$(CFLAGS) -DSHS_MAIN -o version common.c427 gcc $(CFLAGS) -DSHS_MAIN -o version common.c 428 428 429 429 mkloader: temp.c 430 $(CC)$(CFLAGS) -DLILO_BINARY -o mkloader temp.c430 gcc $(CFLAGS) -DLILO_BINARY -o mkloader temp.c 431 431 432 432 tidy: 433 433 rm -f core $(LIS) *.shs *.crc $(TMP)*
Note:
See TracBrowser
for help on using the repository browser.