0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 05:49:50 +00:00
Rosen Penev 77130df23d bottlerocket: fix compilation with GCC 14
implicit int errors now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-05-12 23:00:13 -07:00

12 lines
320 B
Diff

--- a/configure
+++ b/configure
@@ -656,7 +656,7 @@ cat > conftest.$ac_ext << EOF
#line 657 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes