empty: fix compile with toolchain w/o threads
authorWaldemar Brodkorb <wbx@openadk.org>
Thu, 9 Jul 2015 09:31:40 +0000 (11:31 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 8 Aug 2015 10:45:51 +0000 (12:45 +0200)
commit9dd523c48f8c9e250da8694308fe24e6bab2fdc8
tree38321d52960c548f342af26d3b4c553e169739f5
parent0b84959fbbe824e1a7e9918ffe49943046982c27
empty: fix compile with toolchain w/o threads

As found via autobuilders and discussed on the list, the
ifdef is wrong, as empty uses SysV semaphores and not POSIX
semaphores.

Tested with glibc/uclibc-ng builds. And with uclibc-ng without
threads.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/empty/0002-fix-non-thread-build.patch [new file with mode: 0644]