| |
@@ -1,6 +1,6 @@
|
| |
Name: acpica-tools
|
| |
Version: 20200214
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 4%{?dist}
|
| |
Summary: ACPICA tools for the development and debug of ACPI tables
|
| |
|
| |
License: GPLv2
|
| |
@@ -181,17 +181,22 @@
|
| |
-Wredundant-decls\
|
| |
-Wempty-body\
|
| |
-Woverride-init\
|
| |
- -Wlogical-op\
|
| |
- -Wmissing-parameter-type\
|
| |
- -Wold-style-declaration\
|
| |
-Wtype-limits"
|
| |
|
| |
+ # clang doesn't have these
|
| |
+ if [ "%{__cc}" != "clang" ]; then
|
| |
+ CWARNINGFLAGS="$CWARNINGFLAGS \
|
| |
+ -Wlogical-op\
|
| |
+ -Wmissing-parameter-type\
|
| |
+ -Wold-style-declaration"
|
| |
+ fi
|
| |
+
|
| |
OPT_CFLAGS="%{optflags} $CWARNINGFLAGS"
|
| |
OPT_LDFLAGS="%{__global_ldflags}"
|
| |
export OPT_CFLAGS
|
| |
export OPT_LDFLAGS
|
| |
|
| |
- make
|
| |
+ %{make_build}
|
| |
|
| |
|
| |
%install
|
| |
@@ -247,6 +252,11 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Mon Mar 09 2020 Timm Baeder <tbaeder@redhat.com> - 20200214-4
|
| |
+ - Don't pass unrecognized command line arguments to clang
|
| |
+ - Update f23-hardening.patch to pass -pie via OPT_LDFLAGS
|
| |
+ - Use %%{make_build} instead of just make
|
| |
+
|
| |
* Wed Feb 26 2020 Al Stone <ahs3@redhat.com> - 20200214-1
|
| |
- Update to 20200214 source tree, including patch refreshes
|
| |
- Add patch to fix up issues where strings and 4-byte quantities
|
| |
Don't pass command line arguments to clang that it does not support, and split up cflags and ldflags. Includes minor %{make_build} change.