1Upstream-Status: Pending 2 3Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 4 5diff --git a/Makefile b/Makefile 6index 951b617..6d9b73d 100644 7--- a/Makefile 8+++ b/Makefile 9@@ -22,7 +22,7 @@ static: $(OBJECTS) 10 $(AR) cru libx86.a $(OBJECTS) 11 12 shared: $(OBJECTS) 13- $(CC) $(CFLAGS) -o libx86.so.1 -shared -Wl,-soname,libx86.so.1 $(OBJECTS) 14+ $(CC) $(CFLAGS) $(LDFLAGS) -o libx86.so.1 -shared -Wl,-soname,libx86.so.1 $(OBJECTS) 15 16 objclean: 17 $(MAKE) -C x86emu clean 18