mirror of
https://github.com/mirror/make.git
synced 2025-01-19 08:40:13 +08:00
Formerly GNUmakefile.~62~
This commit is contained in:
parent
b238874895
commit
1e9a5d4b8e
15
GNUmakefile
15
GNUmakefile
@ -61,13 +61,14 @@ libc_dir = /home/gd2/gnu/libc/$(ARCH)
|
||||
ifneq ($(wildcard $(libc_dir)),)
|
||||
ifneq ($(wildcard $(libc_dir)/works-for-make),)
|
||||
dash_m := -M
|
||||
CPPFLAGS := -I$(libc_dir)/include
|
||||
LDFLAGS := -nostdlib $(libc_dir)/lib/start.o
|
||||
LOADLIBES := $(LOADLIBES) \
|
||||
$(libc_dir)/lib/mcheck-init.o \
|
||||
$(libc_dir)/lib/libc.a \
|
||||
-lgcc \
|
||||
$(libc_dir)/lib/libc.a
|
||||
#CPPFLAGS := -I$(libc_dir)/include
|
||||
#LDFLAGS := -nostdlib $(libc_dir)/lib/start.o
|
||||
#LOADLIBES := $(LOADLIBES) \
|
||||
# $(libc_dir)/lib/mcheck-init.o \
|
||||
# $(libc_dir)/lib/libc.a \
|
||||
# -lgcc \
|
||||
# $(libc_dir)/lib/libc.a
|
||||
$(CC) := $(CC) -b glibc
|
||||
$(prog): $(libc_dir)/lib/libc.a
|
||||
|
||||
# glob is in the C library.
|
||||
|
Loading…
Reference in New Issue
Block a user