blob: 821ab379d5dd89cfd2d081f29074f12b92e60d6d [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001Upstream-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