Author: nbd Date: 2015-10-05 16:12:42 +0200 (Mon, 05 Oct 2015) New Revision: 47140
Modified: branches/chaos_calmer/include/prereq-build.mk Log: build: use host cflags/ldflags for openssl prereq check Signed-off-by: Felix Fietkau <[email protected]> Backport of r47138 Modified: branches/chaos_calmer/include/prereq-build.mk =================================================================== --- branches/chaos_calmer/include/prereq-build.mk 2015-10-05 14:11:30 UTC (rev 47139) +++ branches/chaos_calmer/include/prereq-build.mk 2015-10-05 14:12:42 UTC (rev 47140) @@ -68,7 +68,7 @@ $(eval $(call TestHostCommand,libssl, \ Please install the openssl library (with development headers), \ echo 'int main(int argc, char **argv) { SSL_library_init(); return 0; }' | \ - gcc -include openssl/ssl.h -x c -o $(TMP_DIR)/a.out - -lcrypto -lssl)) + gcc $(HOST_CFLAGS) -include openssl/ssl.h -x c -o $(TMP_DIR)/a.out - -lcrypto -lssl $(HOST_LDFLAGS))) $(eval $(call SetupHostCommand,tar,Please install GNU 'tar', \ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
