By generating position independent code, the library is more reusable.

Signed-off-by: Michael Haener <[email protected]>
---
 Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 5f9e3a9..8fb8652 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -86,7 +86,8 @@ libebgenv_a_CPPFLAGS = \
        -I$(top_srcdir)/tools
 
 libebgenv_a_CFLAGS = \
-       $(AM_CFLAGS)
+       $(AM_CFLAGS) \
+       -fPIC
 
 pkginclude_HEADERS = \
        include/ebgenv.h
-- 
2.26.3

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/20210426104428.87136-1-michael.haener%40siemens.com.

Reply via email to