Cygwin: Makefile: add dependency to newlib's libs
We need deps to newlib's libc.a and libm.a, otherwise changes in newlib code don't trigger a rebuild of the Cygwin DLL. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
a2bfe7cae6
commit
f574c30857
|
@ -623,7 +623,8 @@ $(LDSCRIPT): $(LDSCRIPT).in
|
|||
$(CC) -E - -P < $^ -o $@
|
||||
|
||||
# cygwin dll
|
||||
$(TEST_DLL_NAME): $(LDSCRIPT) dllfixdbg libdll.a $(VERSION_OFILES) $(LIBSERVER)
|
||||
$(TEST_DLL_NAME): $(LDSCRIPT) dllfixdbg libdll.a $(VERSION_OFILES) $(LIBSERVER)\
|
||||
$(newlib_build)/libm/libm.a $(newlib_build)/libc/libc.a
|
||||
$(CXX) $(CXXFLAGS) \
|
||||
-mno-use-libstdc-wrappers \
|
||||
-Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) -static \
|
||||
|
|
Loading…
Reference in New Issue