Skip to content
Snippets Groups Projects
Commit e4134d2c authored by Natanael Copa's avatar Natanael Copa
Browse files

main/cgdb: fix build with gcc 14

Use -fpermissive due to some problem in configure script and flex.
parent 7abc9c7d
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cgdb
pkgver=0.8.0
pkgrel=2
pkgrel=3
pkgdesc="The Curses Debugger"
arch="all"
license="GPL-2.0-or-later"
......@@ -18,7 +18,7 @@ prepare() {
}
build() {
CFLAGS="$CFLAGS -std=c11" \
CFLAGS="$CFLAGS -std=c11 -fpermissive" \
CXXFLAGS="$CXXFLAGS -std=c++11" \
./configure \
--build=$CBUILD \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment