Commit 99aa959a authored by Vitaly Lipatov's avatar Vitaly Lipatov

add compile flags, always run configure

parent d9b38e1a
......@@ -2,6 +2,10 @@
autoreconf -fiv
# run configure if project is compiled
test -f Makefile && ./configure --enable-maintainer-mode --prefix=/usr
exit 0
\ No newline at end of file
# set flags as in rpm build
CFLAGS='-pipe -O2 -march=i586 -mtune=i686'
export CFLAGS
CXXFLAGS="$CFLAGS"
export CXXFLAGS
./configure --enable-maintainer-mode --prefix=/usr
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment