mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
librepfunc: fix cross compile
This commit is contained in:
parent
77544e0158
commit
6549a05a06
@ -0,0 +1,20 @@
|
|||||||
|
--- a/Makefile 2023-11-12 14:10:50.207821109 +0000
|
||||||
|
+++ b/Makefile 2023-11-12 14:14:02.385846184 +0000
|
||||||
|
@@ -32,7 +32,7 @@
|
||||||
|
#/******************************************************************************
|
||||||
|
# * if you prefer verbose non-coloured build messages, remove the '@' here:
|
||||||
|
# *****************************************************************************/
|
||||||
|
-CXX = @g++
|
||||||
|
+CXX ?= @g++
|
||||||
|
CXXFLAGS += -g -O3 -fPIC -Wall -Wextra -Werror=overloaded-virtual -Wfatal-errors
|
||||||
|
CXXFLAGS += -DVERSION=\"$(VERSION)\"
|
||||||
|
DEFINES = -D_POSIX_C_SOURCE
|
||||||
|
@@ -61,7 +61,7 @@
|
||||||
|
#/******************************************************************************
|
||||||
|
# * programs, override if on different paths.
|
||||||
|
# *****************************************************************************/
|
||||||
|
-AR = @ar
|
||||||
|
+AR ?= @ar
|
||||||
|
CD ?= cd
|
||||||
|
CP ?= cp
|
||||||
|
CHMOD ?= chmod
|
Loading…
x
Reference in New Issue
Block a user