aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-05-30 19:29:42 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-05-30 19:29:42 -0700
commitfc158ab464fd58aec17aa590bc2022f539fefc5a (patch)
treec2690da2d4c900036d9cb4cfaf747e8c4297089c /Makefile
parent7c01031fda34b64fb2ca5e73838d860bf3f0d78d (diff)
bug: temporary removal of musl lib to isolate malloc bug
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d36cd09..f76ac8c 100644
--- a/Makefile
+++ b/Makefile
@@ -12,15 +12,15 @@ OBJ_DIR := build
TST_DIR := test
# C runtime library
-CINIT := $(LIB_DIR)/crt/crt1.o $(LIB_DIR)/crt/x86_64/crti.o `gcc --print-file-name=crtbeginS.o`
-CFINI := `gcc --print-file-name=crtendS.o` $(LIB_DIR)/crt/x86_64/crtn.o
+# CINIT := $(LIB_DIR)/crt/crt1.o $(LIB_DIR)/crt/x86_64/crti.o `gcc --print-file-name=crtbeginS.o`
+# CFINI := `gcc --print-file-name=crtendS.o` $(LIB_DIR)/crt/x86_64/crtn.o
# Flags, Libraries and Includes
CFLAGS := -g -march=native -fno-strict-aliasing -fwrapv -fms-extensions
-STATIC := -static -nodefaultlibs -nostartfiles
+# STATIC := -static -nodefaultlibs -nostartfiles
AFLAGS := -f elf64
-INCS := -isystem $(INC_DIR)/vendor/libc -I $(INC_DIR)
-ELIBS := -L$(LIB_DIR) -lc
+INCS := -I $(INC_DIR) #-isystem $(INC_DIR)/vendor/libc
+ELIBS := #-L$(LIB_DIR) #-lc
# Named generic rules (must be evaluated lazily)
COMPILE = @echo "CC "$@;\