summaryrefslogtreecommitdiff
path: root/editors/vim/files/patch-01
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vim/files/patch-01')
-rw-r--r--editors/vim/files/patch-012
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vim/files/patch-01 b/editors/vim/files/patch-01
index 876a0baeb202..d81da2bab293 100644
--- a/editors/vim/files/patch-01
+++ b/editors/vim/files/patch-01
@@ -103,5 +103,5 @@
-@echo 'char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)";' >> $@
- -@echo 'char_u *all_cflags = (char_u *)"$(CC) -c -I$(srcdir) $(ALL_CFLAGS)";' >> $@
+ -@echo 'char_u *all_cflags = (char_u *)' >> $@
-+ -@perl -le '$$_ = q|$(CC) -c -I$(srcdir) $(ALL_CFLAGS)|; s/"/\\"/g; print qq|\t"$$_";|' >> $@
++ -@echo '$(CC) -c -I$(srcdir) $(ALL_CFLAGS)' | sed -e 's/\"/\\"/g' -e 's/\(^.*\)/ "\1";/' >> $@
-@echo 'char_u *all_lflags = (char_u *)"$(CC) $(ALL_LIB_DIRS) $(LDFLAGS) -o $(VIMTARGET) $(ALL_LIBS) ";' >> $@