Skip to content

Commit 640dfd0

Browse files
committed
Adjust debug CFLAGS for cv2pdb
Debug settings for cv2pdb based on discussion in this issue: rainers/cv2pdb#30 No noticeable difference, but cv2pdb might work someday! Signed-off-by: Dakota Hawkins <[email protected]>
1 parent 431b6f8 commit 640dfd0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

msys2-runtime/PKGBUILD

+4-2
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,10 @@ build() {
228228
OPTIM="-O2"
229229
fi
230230

231-
CFLAGS="$OPTIM -pipe -ggdb"
232-
CXXFLAGS="$OPTIM -pipe -ggdb"
231+
# Debug settings for cv2pdb based on discussion in this issue:
232+
# https://github.com/rainers/cv2pdb/issues/30
233+
CFLAGS="$OPTIM -pipe -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer"
234+
CXXFLAGS="$OPTIM -pipe -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer"
233235

234236
"${srcdir}"/msys2-runtime/configure \
235237
--prefix=/usr \

0 commit comments

Comments
 (0)