Skip to content

Commit

Permalink
Make -O3 defualt in configure.ac
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamadi committed Feb 2, 2017
1 parent 88b8237 commit 8a499bd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ AM_INIT_AUTOMAKE([foreign subdir-objects])
AC_CONFIG_SRCDIR([CreateBloom.cpp])
AC_CONFIG_HEADER([config.h])

if test -z $CXXFLAGS; then
CXXFLAGS='-O3'
fi

if test -z $CXXFLAGS; then
CCFLAGS='-O3'
fi

# Checks for programs.
AC_PROG_AWK
AC_PROG_CC
Expand Down

0 comments on commit 8a499bd

Please # to comment.