The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
24 lines
583 B
Diff
24 lines
583 B
Diff
--- a/src/osflags
|
|
+++ b/src/osflags
|
|
@@ -16,12 +16,6 @@ link)
|
|
windows32)
|
|
echo '-lws2_32 -liphlpapi';
|
|
;;
|
|
- Linux)
|
|
- FLAGS="";
|
|
- [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
|
|
- [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
|
|
- echo $FLAGS;
|
|
- ;;
|
|
esac
|
|
;;
|
|
cflags)
|
|
@@ -34,8 +28,6 @@ cflags)
|
|
;;
|
|
Linux)
|
|
FLAGS="-D_GNU_SOURCE"
|
|
- [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
|
|
- [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
|
|
echo $FLAGS;
|
|
;;
|
|
esac
|