Update Makefile
Fixed build detection to properly distinguish between Android/Termux and regular Linux environments. Android systems report as "Linux" in kernel checks but require different compiler flags and libraries. The fix ensures: · Android builds get Termux-compatible flags (-D__ANDROID__, iconv linking) · Regular Linux builds get standard flags (-DWITH_HWMON) · Proper library linking for each platform · No flag conflicts between environments Detection order is critical since both systems identify as Linux at kernel level.
A
Ahmed Al-Nassif committed
48ef46038aa3bbbfb490490ea9469745de5035c7
Parent: c009e76
Committed by GitHub <noreply@github.com>
on 11/1/2025, 10:27:12 PM