work around -Werror vs. fc7 rpm build flags
This commit is contained in:
parent
1c28fddd28
commit
ee6fb0cb55
@ -103,7 +103,7 @@ cd ..
|
||||
%endif
|
||||
|
||||
%configure %{?elfutils_config}
|
||||
make %{?_smp_mflags}
|
||||
make %{?_smp_mflags} AM_CFLAGS="-D_GNU_SOURCE -fexceptions -Wall -Wextra"
|
||||
|
||||
# Fix paths in the example scripts
|
||||
find examples -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
|
||||
|
Loading…
Reference in New Issue
Block a user