diff mbox series

ipc: add -fPIC to let build shared lib

Message ID 1530163955-5859-1-git-send-email-sbabic@denx.de
State Accepted
Headers show
Series ipc: add -fPIC to let build shared lib | expand

Commit Message

Stefano Babic June 28, 2018, 5:32 a.m. UTC
Add -fPIC to allow to build shared libraries
using lipswupdate.a code.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 ipc/Makefile | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/ipc/Makefile b/ipc/Makefile
index 707a67c..e2826bd 100644
--- a/ipc/Makefile
+++ b/ipc/Makefile
@@ -2,3 +2,5 @@ 
 #
 # SPDX-License-Identifier:     GPL-2.0-or-later
 lib-y			+= network_ipc.o progress_ipc.o
+
+EXTRA_CFLAGS += -fPIC