From a8d31910eca02e5212565fda01c1d80d7508b03c Mon Sep 17 00:00:00 2001 From: nhmall Date: Tue, 6 Oct 2020 02:01:30 -0400 Subject: [PATCH] target lua build was missing -c on cross-compile --- sys/unix/hints/include/cross-pre.2020 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/unix/hints/include/cross-pre.2020 b/sys/unix/hints/include/cross-pre.2020 index 4fe0f9fac..7700b0baa 100644 --- a/sys/unix/hints/include/cross-pre.2020 +++ b/sys/unix/hints/include/cross-pre.2020 @@ -382,23 +382,23 @@ ifdef WANT_WIN_CURSES ifdef BUILD_PDCURSES # Rules for PDCurses files $(TARGETPFX)%.o : $(PDCTOP)/pdcurses/%.c - $(TARGET_CC) $(PDCINCL) $(TARGET_CFLAGS) -o$@ $< + $(TARGET_CC) $(PDCINCL) $(TARGET_CFLAGS) -c -o$@ $< endif # BUILD_PDCURSES endif # WANT_WIN_CURSES ifdef CROSS_SHARED # Rules for win/share files $(TARGETPFX)%.o : ../win/share/%.c - $(TARGET_CC) $(TARGET_CFLAGS) -o$@ $< + $(TARGET_CC) $(TARGET_CFLAGS) -c -o$@ $< # Rules for util files heading for target $(TARGETPFX)%.o : ../util/%.c - $(TARGET_CC) $(TARGET_CFLAGS) -o$@ $< + $(TARGET_CC) $(TARGET_CFLAGS) -c -o$@ $< endif # CROSS_SHARED ifdef BUILD_TARGET_LUA # Rule for LUA files $(TARGETPFX)%.o : $(LUATOP)/src/%.c - $(TARGET_CC) $(TARGET_CFLAGS) $(LUA_FLAGS) -o$@ $< + $(TARGET_CC) $(TARGET_CFLAGS) -c $(LUA_FLAGS) -o$@ $< endif # BUILD_TARGET_LUA # # End of cross-compiling -PRE section -- 2.50.1