mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 13:53:37 -07:00
Don't use default CFLAGS, CXXFLAGS from autotools
Before this commit, autotools will inject `-g -O2` to debug build (`--enable-debug=yes`) and rendering the result binary useless. This commit fixes it. https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.70/html_node/C_002b_002b-Compiler.html Closes #14032.
This commit is contained in:
parent
2c2bb14b2a
commit
77909e0093
2 changed files with 4 additions and 0 deletions
2
configure
vendored
2
configure
vendored
|
@ -2026,6 +2026,8 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
|||
|
||||
|
||||
|
||||
: ${CFLAGS=""}
|
||||
: ${CXXFLAGS=""}
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue