https://bugzilla.redhat.com/show_bug.cgi?id=2040118



--- Comment #10 from Artur Frenszek-Iwicki <[email protected]> ---
From the build log:
> gcc -ansi -Wall -O3 -fPIE -g -I/usr/include/tcl  -c -o hand.o hand.c
> gcc -ansi -Wall -O3 -fPIE -g -I/usr/include/tcl  -c -o tcl_dds.o tcl_dds.c
> gcc -ansi -Wall -O3 -fPIE -g -I/usr/include/tcl  -c -o dealtypes.o dealtypes.c
> ...
Fedora's CFLAGS are not applied here. Looking at the Makefile, it overwrites
CFLAGS in line 39.
CPPFLAGS are also overwritten in Make.fedora on line 5.

> cp -a docs/html %{build_docs}/
> ...
> %files
> %doc %{_docdir}/%{name}/
You don't need to copy the files manually. If you use a relative path with
%doc,
the build process will take the file from the build directory and copy it
to the buildroot for you.

> cp -a GPL       %{build_docs}
> ...
> %files
> %license %{_docdir}/%{name}/GPL
The same for %license.

> %build
> %set_build_flags
I know it was me who suggested this a month ago, but - setting the build flags
manually
is no longer needed. Starting with Fedora 36, this will be done automatically.
https://fedoraproject.org/wiki/Changes/SetBuildFlagsBuildCheck


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2040118
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to