forked from pool/syslinux
Accepting request 1126911 from system:install:head
- Build the system installable binaries with RPM_OPT_FLAGS, to allow utilization of stack-protector and FORTIFY_SOURCE. (bsc#1211640) (forwarded request 1089159 from msmeissn) OBS-URL: https://build.opensuse.org/request/show/1126911 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/syslinux?expand=0&rev=70
This commit is contained in:
commit
2e4a3ae37e
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 26 08:42:21 UTC 2023 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
- Build the system installable binaries with RPM_OPT_FLAGS, to allow
|
||||
utilization of stack-protector and FORTIFY_SOURCE. (bsc#1211640)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 9 10:45:24 UTC 2021 - Wolfgang Frisch <wolfgang.frisch@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package syslinux
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -112,6 +112,14 @@ Authors:
|
||||
cp %{SOURCE2} .
|
||||
make spotless
|
||||
make
|
||||
# rebuild the on-system binaries with distribution optflags for stack protector etc.
|
||||
for dir in extlinux utils linux mtools
|
||||
do
|
||||
cd $dir
|
||||
make clean
|
||||
make OPTFLAGS="%optflags"
|
||||
cd ..
|
||||
done
|
||||
|
||||
%install
|
||||
make install-all \
|
||||
|
Loading…
Reference in New Issue
Block a user