Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build-sys: Inject Automake's default CXXFLAGS to libdnf by default
Today I was trying to use gdb and noticed my libdnf build didn't have debuginfo. Now, I thought that's what `-DCMAKE_BUILD_TYPE=RelWithDebugInfo` was doing but...I have no idea right now where I got that. I looked at RPM builds, and the way this works is it exports CXXFLAGS. Now for our C code, our defaults actually come from Autoconf. Let's do the beautiful hack of telling Autoconf we're going to use C++ so it sets `CXXFLAGS` for us. Closes: #1586 Approved by: jlebon
- Loading branch information