mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-25 20:26:34 +00:00
use $TARGET_CFLAGS
This commit is contained in:
parent
669c766261
commit
93b92d42a9
@ -3,9 +3,10 @@
|
|||||||
# gzip
|
# gzip
|
||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
GZIP_SOURCE:=gzip-1.3.5.tar.gz
|
GZIP_VER:=1.3.5
|
||||||
|
GZIP_SOURCE:=gzip-$(GZIP_VER).tar.gz
|
||||||
GZIP_SITE:=ftp://alpha.gnu.org/gnu/gzip
|
GZIP_SITE:=ftp://alpha.gnu.org/gnu/gzip
|
||||||
GZIP_DIR:=$(BUILD_DIR)/gzip-1.3.5
|
GZIP_DIR:=$(BUILD_DIR)/gzip-$(GZIP_VER)
|
||||||
GZIP_CAT:=zcat
|
GZIP_CAT:=zcat
|
||||||
GZIP_BINARY:=$(GZIP_DIR)/gzip
|
GZIP_BINARY:=$(GZIP_DIR)/gzip
|
||||||
GZIP_TARGET_BINARY:=$(TARGET_DIR)/bin/zmore
|
GZIP_TARGET_BINARY:=$(TARGET_DIR)/bin/zmore
|
||||||
@ -26,6 +27,7 @@ $(GZIP_DIR)/.unpacked: $(DL_DIR)/$(GZIP_SOURCE)
|
|||||||
$(GZIP_DIR)/.configured: $(GZIP_DIR)/.unpacked
|
$(GZIP_DIR)/.configured: $(GZIP_DIR)/.unpacked
|
||||||
(cd $(GZIP_DIR); rm -rf config.cache; \
|
(cd $(GZIP_DIR); rm -rf config.cache; \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
./configure \
|
./configure \
|
||||||
--target=$(GNU_TARGET_NAME) \
|
--target=$(GNU_TARGET_NAME) \
|
||||||
--host=$(GNU_TARGET_NAME) \
|
--host=$(GNU_TARGET_NAME) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user