Ticket #51863: patch-c-Mf-ta6osx.diff
File patch-c-Mf-ta6osx.diff, 951 bytes (added by mohd-akram (Mohamed Akram), 8 years ago) |
---|
-
c/Mf-ta6osx
old new 17 17 Cpu = X86_64 18 18 19 19 mdclib = -liconv -lm -lncurses 20 C = gcc ${CPPFLAGS} -m64 -Wpointer-arith -Wall -Wextra -Werror -O2 -I/opt/X11/include/${CFLAGS}20 C = ${CC} ${CPPFLAGS} -m64 -Wpointer-arith -Wall -Wextra -Werror -O2 ${CFLAGS} 21 21 o = o 22 22 mdsrc = i3le.c 23 23 mdobj = i3le.o … … 26 26 .SUFFIXES: .c .o 27 27 28 28 .c.o: 29 $C -c -D${Cpu} -I${Include} -I${ZlibInclude}$*.c29 $C -c -D${Cpu} -I${Include} $*.c 30 30 31 31 include Mf-base 32 32 33 ${Kernel}: ${kernelobj} ../zlib/libz.a34 ld -r -o ${Kernel} ${kernelobj} ../zlib/libz.a33 ${Kernel}: ${kernelobj} 34 $C -static -nostdlib -o ${Kernel} ${kernelobj} ${LDFLAGS} -lz -Wl,-r 35 35 36 36 ${Scheme}: ${Kernel} ${Main} 37 37 $C -o ${Scheme} ${Kernel} ${Main} ${mdclib} ${LDFLAGS} 38 39 ${ZlibInclude}/zlib.h ${ZlibInclude}/zconf.h ../zlib/libz.a:40 (cd ../zlib; CFLAGS=-m64 ./configure --64)41 (cd ../zlib; make)