mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
Makefile: out-of-tree fix for uclibc 0.9.31
Strangely enough O is still passed to submakes with MAKEOVERRIDES (with make 3.81 atleast), the only thing that changes is the output of the origin function (command line -> environment). Unfortunately some packages don't look at origin (E.G. uClibc 0.9.31+) To really make O go away, we have to override it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
f94830d0e5
commit
cd61ea772b
6
Makefile
6
Makefile
@ -230,6 +230,12 @@ else
|
|||||||
# forwards command line variable definitions those packages get very
|
# forwards command line variable definitions those packages get very
|
||||||
# confused. Fix this by telling make to not do so
|
# confused. Fix this by telling make to not do so
|
||||||
MAKEOVERRIDES =
|
MAKEOVERRIDES =
|
||||||
|
# strangely enough O is still passed to submakes with MAKEOVERRIDES
|
||||||
|
# (with make 3.81 atleast), the only thing that changes is the output
|
||||||
|
# of the origin function (command line -> environment).
|
||||||
|
# Unfortunately some packages don't look at origin (E.G. uClibc 0.9.31+)
|
||||||
|
# To really make O go away, we have to override it.
|
||||||
|
override O:=$(O)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# bash prints the name of the directory on 'cd <dir>' if CDPATH is
|
# bash prints the name of the directory on 'cd <dir>' if CDPATH is
|
||||||
|
Loading…
x
Reference in New Issue
Block a user