Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
bandwidth
> bandwidth-1.0-ldflags.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File bandwidth-1.0-ldflags.patch of Package bandwidth
--- Makefile.orig 2014-02-23 15:36:09.648534454 +0100 +++ Makefile 2014-02-23 15:53:57.549093815 +0100 @@ -22,7 +22,8 @@ #CFLAGS= -O6 -lm CFLAGS= -g CC=gcc -LD=gcc -lm +LD=gcc +LDFLAGS=-lm SRC=main.c OBJ=main.o AS=nasm @@ -39,27 +40,27 @@ bandwidth64: main.c routines64.asm libBMP64.a libBMPGraphing64.a ${AS} -f elf64 routines64.asm -o routines64.o ${CC} ${CFLAGS} -m64 -c ${SRC} - ${LD} -m64 routines64.o ${OBJ} libBMP64.a libBMPGraphing64.a -o bandwidth64 + ${LD} -m64 routines64.o ${OBJ} libBMP64.a libBMPGraphing64.a ${LDFLAGS} -o bandwidth64 bandwidth32: main.c routines32.asm libBMP32.a libBMPGraphing32.a ${AS} -f elf routines32.asm -o routines32.o ${CC} ${CFLAGS} -m32 -c ${SRC} - ${LD} -m32 routines32.o ${OBJ} libBMP32.a libBMPGraphing32.a -o bandwidth32 + ${LD} -m32 routines32.o ${OBJ} libBMP32.a libBMPGraphing32.a ${LDFLAGS} -o bandwidth32 bandwidth-mac64: main.c routines64.asm libBMPGraphing64.a libBMP64.a ${AS} -f macho64 routines64.asm -o routines64.o ${CC} ${CFLAGS} -m64 -c ${SRC} - ${LD} -m64 routines64.o ${OBJ} libBMP64.a libBMPGraphing64.a -o bandwidth-mac64 + ${LD} -m64 routines64.o ${OBJ} libBMP64.a libBMPGraphing64.a ${LDFLAGS} -o bandwidth-mac64 bandwidth-mac32: main.c routines32.asm libBMP32.a libBMPGraphing32.a ${AS} -f macho routines32.asm -o routines32.o ${CC} ${CFLAGS} -m32 -c ${SRC} - ${LD} -m32 routines32.o ${OBJ} libBMP32.a libBMPGraphing32.a -o bandwidth-mac32 + ${LD} -m32 routines32.o ${OBJ} libBMP32.a libBMPGraphing32.a ${LDFLAGS} -o bandwidth-mac32 bandwidth-win32: main.c routines32.asm libBMP32.a libBMPGraphing32.a ${AS} -f win32 routines32.asm -o routines32.o ${CC} ${CFLAGS} -m32 -c ${SRC} -Wall -O6 -D__WIN32__ -DWINVER=0x0600 - ${LD} -m32 routines32.o ${OBJ} libBMP32.a libBMPGraphing32.a -o bandwidth-win32 + ${LD} -m32 routines32.o ${OBJ} libBMP32.a libBMPGraphing32.a ${LDFLAGS} -o bandwidth-win32 libBMPGraphing64.a: BMPGraphing.c ${CC} ${CFLAGS} -m64 -c BMPGraphing.c