summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-23 21:47:14 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-23 21:47:14 +0000
commit22b7ab27132eaa348f93f2c653be190e336e8417 (patch)
tree52d64c2e028593731fefd701e1ee0cdb7cac2757
parentAdd some variables to Makefile.in (bug #282142). (diff)
downloadeselect-python-22b7ab27132eaa348f93f2c653be190e336e8417.tar.gz
eselect-python-22b7ab27132eaa348f93f2c653be190e336e8417.tar.bz2
eselect-python-22b7ab27132eaa348f93f2c653be190e336e8417.zip
Set default flags.
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 08061c0..260a919 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,8 @@
AC_INIT([eselect-python], [20090824])
+CFLAGS="${CFLAGS--march=native -O3 -pipe -fno-ident}"
+LDFLAGS="${LDFLAGS--Wl,-O1,--as-needed,--gc-sections,--hash-style=gnu}"
+
AC_PROG_CC
# strndup() was introduced in POSIX.1-2008.