mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
libutil: Add -fPIC option for building libutil objects
Add the -fPIC option when building the libutil objects to generate position-independent code, and allow them to be used in dynamically loaded shared libraries. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Acked-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
131a910ac5
commit
6a860a01c3
@@ -43,6 +43,7 @@ util_prg_example: util_prg_example.o $(lib)
|
||||
util_rec_example: util_rec_example.o $(lib)
|
||||
|
||||
$(lib): $(objects)
|
||||
$(lib): ALL_CFLAGS += -fPIC
|
||||
|
||||
install: all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user