[前][次][番号順一覧][スレッド一覧]

ruby-changes:39929

From: nobu <ko1@a...>
Date: Sun, 4 Oct 2015 01:28:40 +0900 (JST)
Subject: [ruby-changes:39929] nobu:r52010 (trunk): template/ruby-runner.c.in: POSIX for setenv

nobu	2015-10-04 01:28:23 +0900 (Sun, 04 Oct 2015)

  New Revision: 52010

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52010

  Log:
    template/ruby-runner.c.in: POSIX for setenv

  Modified files:
    trunk/Makefile.in
    trunk/template/ruby-runner.c.in
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 52009)
+++ Makefile.in	(revision 52010)
@@ -256,7 +256,7 @@ ruby-runner.c: template/ruby-runner.c.in https://github.com/ruby/ruby/blob/trunk/Makefile.in#L256
 		@./config.status --file=$@:$(srcdir)/template/$(@F).in
 
 ruby-runner$(EXEEXT): ruby-runner.c
-	$(Q) $(PURIFY) $(CC) $(LDFLAGS) $(LIBS) $(OUTFLAG)$@ ruby-runner.c
+	$(Q) $(PURIFY) $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(LIBS) $(OUTFLAG)$@ ruby-runner.c
 
 $(RBCONFIG): $($(CROSS_COMPILING:no=)PREP)
 
Index: template/ruby-runner.c.in
===================================================================
--- template/ruby-runner.c.in	(revision 52009)
+++ template/ruby-runner.c.in	(revision 52010)
@@ -1,3 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/template/ruby-runner.c.in#L1
+#define _POSIX_C_SOURCE 200809L
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]