Skip to content

added no-lto flag

Wlodzimierz Wencel requested to merge add-no-lto-flag into master
  • added no-lto flags to apk, deb, rpm
  • removed other lto related flags in rpm
  • changelog updated with those changes and for previous !51 (merged)

Packages with the same code: https://jenkins.aws.isc.org/view/Kea-manual/job/kea-manual/job/pkg/280/

output from compilation that proves flags from rpm were actually removed:

 [HAMMER]  2023-09-20 07:31:10,305 /bin/sh ../../../libtool  --tag=CXX   --mode=compile ccache g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/lib -I../../../src/lib    -DOS_LINUX  -I../../.. -I../../.. -Wall -Wextra -Wnon-virtual-dtor -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pthread -Wno-missing-field-initializers -fPIC -O2 -fno-lto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -Wno-deprecated-declarations -c -o config_log.lo config_log.cc
 [HAMMER]  2023-09-20 07:31:10,306 libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib -DOS_LINUX -I../../.. -I../../.. -Wall -Wextra -Wnon-virtual-dtor -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pthread -Wno-missing-field-initializers -fPIC -O2 -fno-lto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu++11 -Wno-deprecated-declarations -c config_log.cc  -fPIC -DPIC -o .libs/config_log.o

Merge request reports