mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 15:38:22 +00:00
Fix the build
This commit is contained in:
parent
5c0ce6b83e
commit
2e5181666f
5 changed files with 7 additions and 10 deletions
|
@ -17,12 +17,14 @@
|
|||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/intrin/strace.internal.h"
|
||||
#include "libc/calls/syscall-sysv.internal.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/intrin/strace.internal.h"
|
||||
|
||||
/**
|
||||
* Returns process group id of calling process.
|
||||
*
|
||||
* This function is equivalent to `getpgid(0)`.
|
||||
*/
|
||||
int getpgrp(void) {
|
||||
int rc;
|
||||
|
|
|
@ -20,18 +20,13 @@ TOOL_CURL_DIRECTDEPS = \
|
|||
LIBC_LOG \
|
||||
LIBC_MEM \
|
||||
LIBC_NEXGEN32E \
|
||||
LIBC_NT_IPHLPAPI \
|
||||
LIBC_NT_KERNEL32 \
|
||||
LIBC_RUNTIME \
|
||||
LIBC_SOCK \
|
||||
LIBC_STDIO \
|
||||
LIBC_STR \
|
||||
LIBC_STUBS \
|
||||
LIBC_SYSV \
|
||||
LIBC_SYSV_CALLS \
|
||||
LIBC_TIME \
|
||||
LIBC_THREAD \
|
||||
LIBC_TINYMATH \
|
||||
LIBC_X \
|
||||
LIBC_ZIPOS \
|
||||
NET_HTTP \
|
||||
|
|
|
@ -16,10 +16,13 @@
|
|||
"__GNUC_PATCHLEVEL__"
|
||||
"__GNUC__"
|
||||
"__APPLE__"
|
||||
"__ANDROID__"
|
||||
"__FreeBSD__"
|
||||
"__NetBSD__"
|
||||
"__NetBSD_Version__"
|
||||
"__OpenBSD__"
|
||||
"__COSMOPOLITAN__"
|
||||
"__GLIBC__"
|
||||
"__linux"
|
||||
"__MACH__"
|
||||
"__GNUG__"
|
||||
|
|
|
@ -73,9 +73,7 @@
|
|||
"__gnu__"))
|
||||
|
||||
(cosmo
|
||||
'("__COSMOPOLITAN__"
|
||||
"__ANDROID__"
|
||||
"__LINKER__"))
|
||||
'("__LINKER__"))
|
||||
|
||||
)
|
||||
(concat "\\_<"
|
||||
|
|
|
@ -15,7 +15,6 @@ TOOL_NET_BINS = \
|
|||
$(TOOL_NET_COMS:%=%.dbg)
|
||||
|
||||
TOOL_NET_COMS = \
|
||||
o/$(MODE)/tool/net/curl.com \
|
||||
o/$(MODE)/tool/net/dig.com \
|
||||
o/$(MODE)/tool/net/redbean.com \
|
||||
o/$(MODE)/tool/net/redbean-demo.com \
|
||||
|
|
Loading…
Add table
Reference in a new issue