Merge pull request #15227 from cotequeiroz/pic_quote-21.02
[21.02] Cherry-picks from PRs dealing with $(FPIC) quoting
This commit is contained in:
commit
e647b52672
3 changed files with 7 additions and 10 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=libredblack
|
||||
PKG_VERSION:=1.3
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/libredblack
|
||||
|
@ -38,7 +38,7 @@ define Package/libredblack/description
|
|||
endef
|
||||
|
||||
CONFIGURE_ARGS += --without-rbgen
|
||||
CONFIGURE_VARS += lt_cv_prog_cc_pic=$(FPIC)
|
||||
CONFIGURE_VARS += lt_cv_prog_cc_pic="$(FPIC)"
|
||||
MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS)"
|
||||
|
||||
define Build/InstallDev
|
||||
|
|
|
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=nss
|
||||
PKG_VERSION:=3.61
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:= \
|
||||
|
@ -80,7 +80,7 @@ MAKE_FLAGS += \
|
|||
NSS_USE_SYSTEM_SQLITE=1 \
|
||||
OS_ARCH=Linux \
|
||||
OS_TEST=$(ARCH) \
|
||||
fpic=$(FPIC) \
|
||||
fpic="$(FPIC)" \
|
||||
NSPR_INCLUDE_DIR=$(STAGING_DIR)/usr/include/nspr \
|
||||
SEED_ONLY_DEV_URANDOM=1 \
|
||||
NS_USE_GCC=1 \
|
||||
|
@ -91,13 +91,10 @@ MAKE_FLAGS += \
|
|||
OS_REL_CFLAGS="$(TARGET_CFLAGS)"
|
||||
|
||||
#native compile nsinstall
|
||||
define Build/Prepare
|
||||
$(call Build/Prepare/Default)
|
||||
ifeq ($(QUILT),)
|
||||
define Build/Configure
|
||||
USE_NATIVE=1 OS_REL_CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
CC="$(HOSTCC)" CPU_ARCH="$(HOST_ARCH)" \
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)/nss/coreconf/nsinstall
|
||||
endif
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=madplay
|
||||
PKG_VERSION:=0.15.2b
|
||||
PKG_RELEASE:=9
|
||||
PKG_RELEASE:=10
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/mad \
|
||||
|
@ -51,7 +51,7 @@ CONFIGURE_ARGS += \
|
|||
--with-alsa
|
||||
|
||||
CONFIGURE_VARS += \
|
||||
lt_prog_compiler_pic=$(FPIC)
|
||||
lt_prog_compiler_pic="$(FPIC)"
|
||||
|
||||
MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue