CFLAGS isn't used when compiling the generated file sigfe.s, so if that contains -g, it lacks source debugging information.

2015-02-19  Jon TURNEY  <[email protected]>

        * Makefile.in (sigfe.o): Use CFLAGS.

Index: cygwin/Makefile.in
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/Makefile.in,v
retrieving revision 1.278
diff -u -u -p -r1.278 Makefile.in
--- cygwin/Makefile.in  28 Jan 2015 11:43:06 -0000      1.278
+++ cygwin/Makefile.in  19 Feb 2015 13:12:11 -0000
@@ -710,7 +710,7 @@ sigfe.s: $(DEF_FILE)
        [ -s $@ ] && touch $@
 
 sigfe.o: sigfe.s
-       $(CC) -c -o $@ $<
+       $(CC) ${CFLAGS} -c -o $@ $<
 
 ctags: CTAGS
 tags:  CTAGS

Reply via email to