Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | Upstream-Status: Pending |
| 2 | |
| 3 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> |
| 4 | |
| 5 | diff --git a/Makefile b/Makefile |
| 6 | index 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 |