work around -Werror vs. fc7 rpm build flags

This commit is contained in:
fche 2007-03-26 17:24:31 +00:00
parent 1c28fddd28
commit ee6fb0cb55

View File

@ -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@'