[PATCH] Compile sigfe.s with CFLAGS
Jon TURNEY
jon.turney@dronecode.org.uk
Thu Feb 19 13:21:00 GMT 2015
CFLAGS isn't used when compiling the generated file sigfe.s, so if that
contains -g, it lacks source debugging information.
-------------- next part --------------
2015-02-19 Jon TURNEY <jon.turney@dronecode.org.uk>
* 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
More information about the Cygwin-patches
mailing list