Patchwork [1/1] libcaccard: don't build an so, remove -fPIC

login
register
mail settings
Submitter Alon Levy
Date Nov. 29, 2010, 9:51 p.m.
Message ID <1291067477-4947-2-git-send-email-alevy@redhat.com>
Download mbox | patch
Permalink /patch/73501/
State New
Headers show

Comments

Alon Levy - Nov. 29, 2010, 9:51 p.m.
---
 libcaccard/Makefile |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

Patch

diff --git a/libcaccard/Makefile b/libcaccard/Makefile
index a339af1..c4ea70a 100644
--- a/libcaccard/Makefile
+++ b/libcaccard/Makefile
@@ -3,15 +3,10 @@  include ../config-host.mak
 include ../config-all-devices.mak
 include $(SRC_PATH)/rules.mak
 
-CFLAGS+=-fPIC
-
-libcaccard.so: $(libcaccard-y)
-	gcc -shared $(libcaccard_libs) -o $@ $^
-
 vscclient: $(libcaccard-y) vscclient.o
 	gcc $(libcaccard_libs) -o $@ $^
 
-all: libcaccard.so vscclient
+all: vscclient
 
 clean:
 	rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~ libcaccard.so