зеркало из https://github.com/github/ruby.git
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:
Родитель
69f0a1347e
Коммит
f1fbc6b8f6
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче