27 Sep
2022
27 Sep
'22
08:32
On Sep 27 2022, Johannes Kastl wrote:
Hi Jan,
thanks for the detailled explanation.
On 27.09.22 at 09:44 Jan Engelhardt wrote:
End result: %build export CFLAGS="%optflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2" export CXXFLAGS="$CFLAGS" %configure
Or put it directly in optflags: %global optflags %optflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 That should then be picked up automatically everywhere it matters. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."