mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
commit
aa6095cf86
@ -38,8 +38,7 @@ make_target() {
|
|||||||
RANLIB=$TARGET_RANLIB \
|
RANLIB=$TARGET_RANLIB \
|
||||||
AR=$TARGET_AR \
|
AR=$TARGET_AR \
|
||||||
STRIP=$TARGET_STRIP \
|
STRIP=$TARGET_STRIP \
|
||||||
CFLAGS="$CFLAGS" \
|
-f unix/Makefile generic LOCAL_UNZIP="$CFLAGS"
|
||||||
-f unix/Makefile generic
|
|
||||||
}
|
}
|
||||||
|
|
||||||
makeinstall_target() {
|
makeinstall_target() {
|
||||||
|
23
packages/sysutils/keyutils/patches/keyutils-02-cflags.patch
Normal file
23
packages/sysutils/keyutils/patches/keyutils-02-cflags.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
From d8f15e55b4d357ac0a2b384888080b120600d09d Mon Sep 17 00:00:00 2001
|
||||||
|
From: vpeter4 <peter.vicman@gmail.com>
|
||||||
|
Date: Wed, 8 Apr 2015 18:27:06 +0200
|
||||||
|
Subject: [PATCH] cflags
|
||||||
|
|
||||||
|
---
|
||||||
|
Makefile | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index c904eaf..df0fe3e 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
CPPFLAGS := -I.
|
||||||
|
-CFLAGS := -g -Wall -Werror
|
||||||
|
+CFLAGS += -g -Wall -Werror
|
||||||
|
INSTALL := install
|
||||||
|
DESTDIR :=
|
||||||
|
SPECFILE := keyutils.spec
|
||||||
|
--
|
||||||
|
1.8.1.2
|
||||||
|
|
@ -40,6 +40,8 @@ pre_configure_init() {
|
|||||||
# plymouth-lite dont support to build in subdirs
|
# plymouth-lite dont support to build in subdirs
|
||||||
cd $ROOT/$PKG_BUILD
|
cd $ROOT/$PKG_BUILD
|
||||||
rm -rf .$TARGET_NAME-init
|
rm -rf .$TARGET_NAME-init
|
||||||
|
|
||||||
|
LDFLAGS="$LDFLAGS -lm"
|
||||||
}
|
}
|
||||||
|
|
||||||
makeinstall_init() {
|
makeinstall_init() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user