diff options
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target index e8256c0316..031ab456ec 100644 --- a/Makefile.target +++ b/Makefile.target @@ -397,6 +397,12 @@ LDFLAGS+=-Wl,-T,$(SRC_PATH)/$(ARCH)el.ld endif endif +# profiling code +ifdef TARGET_GPROF +LDFLAGS+=-p +CFLAGS+=-p +endif + OBJS= main.o syscall.o strace.o mmap.o signal.o path.o thunk.o \ elfload.o linuxload.o uaccess.o LIBS+= $(AIOLIBS) |