mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
mkosi: Set EXTRA_CFLAGS on opensuse
The opensuse spec doesn't unconditionally set FORTIFY_SOURCE=2 anymore so let's drop our workaround.
This commit is contained in:
parent
a635b33214
commit
6448993a4b
@ -40,9 +40,7 @@ DIST="$(rpm --eval %dist)"
|
||||
ARCH="$(rpm --eval %_arch)"
|
||||
SRCDEST="/usr/src/debug/systemd-$VERSION-${RELEASE}${DIST}.$ARCH"
|
||||
|
||||
# TODO: Enable this when the opensuse spec stops unconditionally setting FORTIFY_SOURCE=2.
|
||||
# EXTRA_CFLAGS="-O${OPTIMIZATION:-0} -Wp,-U_FORTIFY_SOURCE"
|
||||
EXTRA_CFLAGS=""
|
||||
EXTRA_CFLAGS="-O${OPTIMIZATION:-0} -Wp,-U_FORTIFY_SOURCE"
|
||||
if ((WITH_DEBUG)); then
|
||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -fdebug-prefix-map=../src=$SRCDEST"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user