build: remove pthreads references
parent
ffa03a21d8
commit
86676ac8c4
2
Makefile
2
Makefile
|
@ -23,7 +23,7 @@ INSTALLDIR=$(INSTALL) -d
|
|||
CFLAGS=-g -D_GNU_SOURCE -Werror -Wall -Wstrict-prototypes -std=gnu99 \
|
||||
-DAPK_VERSION=\"$(FULL_VERSION)\"
|
||||
LDFLAGS=-g
|
||||
LIBS=-lpthread
|
||||
LIBS=/usr/lib/libz.a
|
||||
|
||||
ifeq ($(STATIC),yes)
|
||||
CFLAGS+=-fno-stack-protector
|
||||
|
|
|
@ -32,7 +32,7 @@ ALL_OBJS = $(apk_OBJS)
|
|||
all: $(TARGETS)
|
||||
|
||||
apk: $(apk_OBJS)
|
||||
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) /usr/lib/libz.a
|
||||
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
|
||||
|
||||
clean::
|
||||
@rm -f $(TARGETS) $(ALL_OBJS)
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
#include "apk_defines.h"
|
||||
|
|
Loading…
Reference in New Issue