aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <JozanLeClerc@noemail.net>2020-11-20 14:39:51 +0000
committerJozanLeClerc <JozanLeClerc@noemail.net>2020-11-20 14:39:51 +0000
commitf914b2f38c0e4ae3de473e83e2e02229997b7de7 (patch)
treef8ba7b1d5e907455e0a76ebda8b43f6b63eb4a9e /Makefile
parentIn good progress (diff)
downloadbsdsetsid-f914b2f38c0e4ae3de473e83e2e02229997b7de7.tar.gz
bsdsetsid-f914b2f38c0e4ae3de473e83e2e02229997b7de7.tar.bz2
bsdsetsid-f914b2f38c0e4ae3de473e83e2e02229997b7de7.tar.xz
bsdsetsid-f914b2f38c0e4ae3de473e83e2e02229997b7de7.tar.zst
bsdsetsid-f914b2f38c0e4ae3de473e83e2e02229997b7de7.zip
Noq
FossilOrigin-Name: 87bc744080eac5e50fa79550e5b833bc82cc5f1a
Diffstat (limited to '')
-rw-r--r--Makefile26
1 files changed, 1 insertions, 25 deletions
diff --git a/Makefile b/Makefile
index 88f7aa4..c9eb7ef 100644
--- a/Makefile
+++ b/Makefile
@@ -34,29 +34,6 @@ ASFLAGS += -pgas
CC = cc
-LD := ld
-LDFLAGS := -melf_x86_64
-LDFLAGS += --eh-frame-hdr
-LDFLAGS += -dynamic-linker
-LDFLAGS += /libexec/ld-elf.so.1
-LDFLAGS += --hash-style=both
-LDFLAGS += --enable-new-dtags
-LDPOST := /usr/lib/crt1.o
-LDPOST += /usr/lib/crti.o
-LDPOST += /usr/lib/crtbegin.o
-LDPOST += -L/usr/lib
-LDPOST += -lgcc
-LDPOST += --as-needed
-LDPOST += -lgcc_s
-LDPOST += --no-as-needed
-LDPOST += -lc
-LDPOST += -lgcc
-LDPOST += --as-needed
-LDPOST += -lgcc_s
-LDPOST += --no-as-needed
-LDPOST += /usr/lib/crtend.o
-LDPOST += /usr/lib/crtn.o
-
NAME := bsdsetsid
RM := rm -f
@@ -67,8 +44,7 @@ RM := rm -f
${AS} ${ASFLAGS} -o ${.TARGET} ${.IMPSRC}
${NAME}: ${OBJS}
- ${LD} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} ${LDPOST}
- # ${CC} -v -o ${.TARGET} ${.ALLSRC}
+ ${CC} -o ${.TARGET} ${.ALLSRC}
all: ${NAME}