mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-24 08:00:08 +07:00
pass CROSS_COMPILE to AR and RANLIB down to extras/
This commit is contained in:
parent
1945917d4b
commit
1fda06ae98
3
Makefile
3
Makefile
@ -116,7 +116,6 @@ CC = $(CROSS_COMPILE)gcc
|
||||
LD = $(CROSS_COMPILE)gcc
|
||||
AR = $(CROSS_COMPILE)ar
|
||||
RANLIB = $(CROSS_COMPILE)ranlib
|
||||
HOSTCC = gcc
|
||||
|
||||
CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
WARNINGS = -Wstrict-prototypes -Wsign-compare -Wshadow \
|
||||
@ -175,6 +174,8 @@ all: $(PROGRAMS) $(MAN_PAGES)
|
||||
CFLAGS="$(CFLAGS)" \
|
||||
LD="$(LD)" \
|
||||
LDFLAGS="$(LDFLAGS)" \
|
||||
AR="$(AR)" \
|
||||
RANLIB="$(RANLIB)" \
|
||||
LIB_OBJS="$(LIB_OBJS)" \
|
||||
LIBUDEV="$(PWD)/$(LIBUDEV)" \
|
||||
-C $$target $@ || exit 1; \
|
||||
|
@ -54,9 +54,6 @@ HEADERS= \
|
||||
libvolume_id.h \
|
||||
util.h
|
||||
|
||||
AR = $(CROSS)ar
|
||||
RANLIB = $(CROSS)ranlib
|
||||
|
||||
all: libvolume_id.a $(SHLIB) libvolume_id.pc
|
||||
.PHONY: all
|
||||
.DEFAULT: all
|
||||
|
Loading…
Reference in New Issue
Block a user