packages/lang/luaossl/patches/900_fix_build_on_macos.patch
Sergey V. Lobanov 99515bdf96 luaossl: fix build on macos
luaossl detects OS and changes compilation flags depends on OS.
If Darwin is detected then it adds GCC non-compatible flags.
OpenWrt is always Linux so build OS detection is disabled

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-17 21:12:53 -08:00

15 lines
301 B
Diff

commit 8686cae32fc04045c1404c2febf84242c298bf0d
Author: Sergey V. Lobanov <sergey@lobanov.in>
Date: Fri Jan 7 23:00:03 2022 +0300
fix build on macos
OpenWrt is always Linux. Disable OS detection
--- a/mk/vendor.os
+++ b/mk/vendor.os
@@ -1,3 +1,3 @@
#!/bin/sh
-uname -s
+echo Linux