flm01/mote/v2/openwrt/package/luaprofiler/patches/100-link.patch

12 lines
310 B
Diff
Raw Normal View History

2011-01-09 21:18:50 +00:00
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -4,7 +4,7 @@ OBJS= src/clocks.o src/core_profiler.o s
profiler: $(OBJS)
- mkdir -p bin && $(LD) -Bshareable -o $(PROFILER_OUTPUT) $(OBJS)
+ mkdir -p bin && $(LD) -Bshareable -o $(PROFILER_OUTPUT) $(OBJS) $(LDFLAGS)
clean:
rm -f $(PROFILER_OUTPUT) src/*.o