Re: Where does "redhat-linux-build" come from?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/24/22 11:51 AM, Dan Horák wrote:
On Fri, 24 Jun 2022 11:36:18 -0400
"Steven A. Falco" <stevenfalco@xxxxxxxxx> wrote:

I'm trying to debug a package that uses cmake to build "out of tree".  It looks like the build happens in a directory called "redhat-linux-build".  Is there a macro that contains that string?

[dan@talos linux]$ rpmbuild --eval %cmake

...
   /usr/bin/cmake \
         -S "." \
         -B "redhat-linux-build" \
         -DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG" \
         -DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \
         -DCMAKE_Fortran_FLAGS_RELEASE:STRING="-DNDEBUG" \
         -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
         -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \
         -DCMAKE_INSTALL_PREFIX:PATH=/usr \
         -DINCLUDE_INSTALL_DIR:PATH=/usr/include \
         -DLIB_INSTALL_DIR:PATH=/usr/lib64 \
         -DSYSCONF_INSTALL_DIR:PATH=/etc \
         -DSHARE_INSTALL_PREFIX:PATH=/usr/share \
%if "lib64" == "lib64"
         -DLIB_SUFFIX=64 \
%endif
         -DBUILD_SHARED_LIBS:BOOL=ON

Perfect.  Thanks.

	Steve
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux