Skip to content

Commit 77130df

Browse files
committed
bottlerocket: fix compilation with GCC 14
implicit int errors now. Signed-off-by: Rosen Penev <[email protected]>
1 parent 5e63e53 commit 77130df

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

utils/bottlerocket/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=bottlerocket
1111
PKG_VERSION:=0.04c
12-
PKG_RELEASE:=1
12+
PKG_RELEASE:=2
1313

1414
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
1515
PKG_SOURCE_URL:=https://linuxha.com/bottlerocket
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- a/configure
2+
+++ b/configure
3+
@@ -656,7 +656,7 @@ cat > conftest.$ac_ext << EOF
4+
#line 657 "configure"
5+
#include "confdefs.h"
6+
7+
-main(){return(0);}
8+
+int main(){return(0);}
9+
EOF
10+
if { (eval echo configure:662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11+
ac_cv_prog_cc_works=yes

0 commit comments

Comments
 (0)