diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-10-07 03:28:41 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-10-07 03:28:41 +0800 |
commit | 831a34caa2112a9b2d867e05f8a4debf965e8389 (patch) | |
tree | fa59157f91b629831af90122d535449cb5f15363 /devscripts/check-porn.py | |
parent | 09b9c45e242cb9e85beaa98b4783ec02065f1ec6 (diff) | |
download | youtube-dl-831a34caa2112a9b2d867e05f8a4debf965e8389.tar.xz |
[Makefilea] Fix for GNU make < 4
Closes #9387
The shell assignment operator != was introduced in GNU make 4.0, or
specifically the commit in [1]. This fix removes such usages and
fallback to a more portable syntax. Tested with:
* GNU make 3.82 on CentOS 7.2
* bmake 20150910 on CentOS 7.2, source RPM from Fedora 24 [2]
* GNU make 4.2.1 on Arch Linux (Arch official package)
* bmake 20160926 on Arch Linux (Arch official package)
* GNU make 3.82 on Arch Linux (Compiled from source)
* Apple bsdmake-24 on macOS Sierra, binary package from Homebrew
Thanks @bdeyal for the feedback of the first tests
[1] http://git.savannah.gnu.org/cgit/make.git/commit/?id=b34438bee83ee906a23b881f257e684a0993b9b1
[2] http://koji.fedoraproject.org/koji/buildinfo?buildID=716769
Diffstat (limited to 'devscripts/check-porn.py')
0 files changed, 0 insertions, 0 deletions