From 12626cf2711720a13bd7372c819a14473af9af3c Mon Sep 17 00:00:00 2001 From: hadaq Date: Thu, 4 Feb 2010 22:21:24 +0000 Subject: [PATCH] update -fPIC --- libtrbnet/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libtrbnet/Makefile b/libtrbnet/Makefile index 21685eb..f530734 100644 --- a/libtrbnet/Makefile +++ b/libtrbnet/Makefile @@ -6,7 +6,7 @@ include $(AXIS_TOP_DIR)/tools/build/Rules.axis INCDIR = -I. CPPFLAGS = #-DHEXMODE -CFLAGS = -pipe -g -Wall -Winline -O3 -finline-functions -finline-limit=600000 +CFLAGS = -pipe -g -Wall -Winline -O3 -fPIC -finline-functions -finline-limit=600000 LD = $(CC) LDFLAGS = @@ -84,6 +84,8 @@ trbnet.o: trbnet.c trberror.h trbnet.h libtrbnet.a: trberror.o trbnet.o +libtrbnet.so: trberror.o trbnet.o + trbcmd: trbcmd.o libtrbnet.a trbcmd.o: trbcmd.c trbnet.h trberror.h -- 2.43.0