diff --git a/configure b/configure index 162fee7575..705aba1f5e 100755 --- a/configure +++ b/configure @@ -387,7 +387,6 @@ Miscellaneous options: Advanced options: --enable-shm enable shm [autodetect] --enable-debug[=1-3] compile-in debugging information [disable] - --enable-profile compile-in profiling information [disable] Use these options if autodetection fails: --extra-cflags=FLAGS extra CFLAGS @@ -561,12 +560,6 @@ for ac_option do --disable-static) _ld_static='' ;; - --enable-profile) - _profile='-p' - ;; - --disable-profile) - _profile= - ;; --enable-debug) _debug='-g' _opt= @@ -1128,16 +1121,16 @@ cflag_check -pipe -I. && _pipe="-pipe" && echores "yes" || echores "no" # Checking for CFLAGS if test -z "$CFLAGS" ; then if test "$cc_vendor" = "intel" ; then - CFLAGS="$_opt $_debug $_profile $_march $_mcpu $_pipe -fomit-frame-pointer" + CFLAGS="$_opt $_debug $_pipe -fomit-frame-pointer" WARNFLAGS="-wd167 -wd556 -wd144" elif test "$cc_vendor" = "clang"; then - CFLAGS="$_opt $_debug $_profile $_march $_pipe" + CFLAGS="$_opt $_debug $_pipe" WARNFLAGS="-Wall -Wno-switch -Wno-logical-op-parentheses -Wpointer-arith -Wundef -Wno-pointer-sign -Wmissing-prototypes" ERRORFLAGS="-Werror=implicit-function-declaration" elif test "$cc_vendor" != "gnu" ; then - CFLAGS="$_opt $_debug $_profile $_march $_mcpu $_pipe" + CFLAGS="$_opt $_debug $_pipe" else - CFLAGS="$_opt $_debug $_profile $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" + CFLAGS="$_opt $_debug $_pipe -ffast-math -fomit-frame-pointer" WARNFLAGS="-Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls" ERRORFLAGS="-Werror-implicit-function-declaration" extra_ldflags="$extra_ldflags -ffast-math"