summaryrefslogtreecommitdiffstats
path: root/package/ramspeed/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/ramspeed/Makefile')
-rw-r--r--package/ramspeed/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/ramspeed/Makefile b/package/ramspeed/Makefile
index acb8cfd8d..f4a4de6a1 100644
--- a/package/ramspeed/Makefile
+++ b/package/ramspeed/Makefile
@@ -2,13 +2,13 @@
all: generic
generic: ramspeed.c fltmem.c fltmark.c intmem.c intmark.c
- $(CC) $(CFLAGS) $^ -o ramspeed
+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o ramspeed
i386: ramspeed.c i386/*.s i386/cpuinfo/*.s
- $(CC) $(CFLAGS) -DI386_ASM $^ -o ramspeed
+ $(CC) $(CFLAGS) -DI386_ASM $(LDFLAGS) $^ -o ramspeed
x86_64: ramspeed.c amd64/*.s
- $(CC) $(CFLAGS) -DAMD64_ASM $^ -o ramspeed
+ $(CC) $(CFLAGS) -DAMD64_ASM $(LDFLAGS) $^ -o ramspeed
clean:
rm -f *.o ramspeed