diff options
Diffstat (limited to 'archive/rpm/BUILD')
-rwxr-xr-x | archive/rpm/BUILD | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/archive/rpm/BUILD b/archive/rpm/BUILD new file mode 100755 index 0000000000..4e8495c49c --- /dev/null +++ b/archive/rpm/BUILD @@ -0,0 +1,11 @@ +# gcc 3.4 fix +local name && +for name in elfutils/*/Makefile.in; do + sedit 's/-Werror//' $name +done && +export LDFLAGS=${LDFLAGS/-z combreloc/} && +export CPPFLAGS="$CPPFLAGS -I/usr/include/python$(installed_version python| cut -c 1-3)" && +./configure --prefix=${INSTALL_ROOT}/usr && +make_single && +make && +make_normal |