openbsd-ports/devel/luaprofiler/patches/patch-config_linux
jasper f2e86ecce6 import luaprofiler 2.0.2
LuaProfiler is a time profiler designed to help finding bottlenecks on
your Lua program.

If you use LuaProfiler into your program, it will generate a log of all
your function calls and their respective running times. You can use this
log to generate a summary of the functions your program uses, along with
how long it stayed in each of them, or you can import the log into a
spreadsheet for further analysis.
2010-07-08 12:28:57 +00:00

14 lines
420 B
Plaintext

$OpenBSD: patch-config_linux,v 1.1.1.1 2010/07/08 12:28:57 jasper Exp $
--- config.linux.orig Mon Jul 5 02:34:42 2010
+++ config.linux Mon Jul 5 02:35:47 2010
@@ -4,7 +4,7 @@ LUA_INCLUDE= /usr/local/include/lua51
PROFILER_OUTPUT= bin/profiler.so
INCS= -I$(LUA_INCLUDE)
-CC= gcc
+CC?= gcc
WARN= -ansi -W -Wall
EXTRA_LIBS=
-CFLAGS= -O2 -DTESTS $(WARN) $(INCS) -I./src
+CFLAGS+= -O2 -DTESTS $(WARN) $(INCS) -I./src