Hi,
2018/10/16 Tue 8:10:20 UTC+9 Tony Mechelynck wrote:
> On Mon, Oct 15, 2018 at 8:11 PM Bram Moolenaar <[email protected]> wrote:
> > Ken Takata wrote:
> > > Is it better to remove -I. from CFLAGS in Make_mvc.mak and add it only
> > > where
> > > needed like Make_cyg_ming.mak?
> >
> > I think it doesn't hurt. Perhaps it's also needed for the xdiff files?
>
> On Linux, at least (where if_perl.c has lived for ages in the auto
> subdirectory) the compiler command-line starts with
>
> gcc -c -I. -Iproto
>
Hm, then it might be better to add -I. to CFLAGS in MinGW for consistency?
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -506,7 +506,7 @@ endif
#>>>>> end of choices
###########################################################################
-CFLAGS = -Iproto $(DEFINES) -pipe -march=$(ARCH) -Wall -ffunction-sections
-fno-asynchronous-unwind-tables
+CFLAGS = -I. -Iproto $(DEFINES) -pipe -march=$(ARCH) -Wall -ffunction-sections
-fno-asynchronous-unwind-tables
CXXFLAGS = -fasynchronous-unwind-tables -std=gnu++11
WINDRES_FLAGS = --preprocessor="$(WINDRES_CC) -E -xc" -DRC_INVOKED
EXTRA_LIBS =
@@ -1060,7 +1060,7 @@ auto/if_perl.c: if_perl.xs typemap
$(PERLTYPEMAP) if_perl.xs -output $@
$(OUTDIR)/if_perl.o: auto/if_perl.c $(INCL)
- $(CC) -c $(CFLAGS) -I. auto/if_perl.c -o $(OUTDIR)/if_perl.o
+ $(CC) -c $(CFLAGS) auto/if_perl.c -o $(OUTDIR)/if_perl.o
$(OUTDIR)/if_ruby.o: if_ruby.c $(INCL)
Regards,
Ken Takata
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.