diff --git a/kexec-tools.changes b/kexec-tools.changes index cbfab00..68f83ad 100644 --- a/kexec-tools.changes +++ b/kexec-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 1 01:01:01 UTC 2025 - olaf@aepfle.de + +- force -std=gnu99 because C99 because the code uses features + ------------------------------------------------------------------- Mon Dec 30 14:17:03 UTC 2024 - Petr Tesařík diff --git a/kexec-tools.spec b/kexec-tools.spec index 02df4bd..18c2c99 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -67,8 +67,8 @@ the loaded kernel after it panics. %build autoreconf -fvi -export CFLAGS="%{optflags} -fPIC" -export BUILD_CFLAGS="%{optflags}" +export CFLAGS="%{optflags} -fPIC -std=gnu99" +export BUILD_CFLAGS="%{optflags} -std=gnu99" export LDFLAGS="-pie" %configure %make_build