mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
template/ruby-runner.c.in: POSIX for setenv
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
69f0a1347e
commit
f1fbc6b8f6
2 changed files with 2 additions and 1 deletions
|
@ -256,7 +256,7 @@ ruby-runner.c: template/ruby-runner.c.in
|
|||
@./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)
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
|
Loading…
Reference in a new issue