]> sourceware.org Git - newlib-cygwin.git/commitdiff
Cygwin: Makefile: add dependency to newlib's libs
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 12 Jan 2022 10:45:54 +0000 (11:45 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 12 Jan 2022 10:45:54 +0000 (11:45 +0100)
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>
winsup/cygwin/Makefile.am

index 24d74998779bc524ea89cf4f592bbcd83e191ce9..2b8e87fcd0053015487eb1d87bfd77722a1167f5 100644 (file)
@@ -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 \
This page took 0.035281 seconds and 5 git commands to generate.