Drop -frename-registers. -finline-functions is the default for optimised

builds anyway.
This commit is contained in:
joerg 2013-10-27 20:35:48 +00:00
parent 8c6b77896c
commit c2d8f99314
3 changed files with 33 additions and 1 deletions

View file

@ -1,7 +1,9 @@
$NetBSD: distinfo,v 1.18 2013/07/24 11:15:55 drochner Exp $
$NetBSD: distinfo,v 1.19 2013/10/27 20:35:48 joerg Exp $
SHA1 (genius-1.0.17.tar.gz) = 884a12db62de68aa90b078ba9baa124f73c44f51
RMD160 (genius-1.0.17.tar.gz) = 17b6fa3fddf65f4bab8e0d7721f85ea8a666d838
Size (genius-1.0.17.tar.gz) = 3960909 bytes
SHA1 (patch-configure) = a1431b1e521c35eea3df1acc16415806b54f58e7
SHA1 (patch-configure.in) = 73fcc7ba580b7f575bd16fdcf12fe81518904379
SHA1 (patch-gtkextra_gtkplot.c) = 3ea37b0a15454b5d81d62b93dd4a70828259d97f
SHA1 (patch-gtkextra_gtkplotsurface.c) = 5f1e98dc7268ebef3a5edf04496a92b4f620114c

View file

@ -0,0 +1,15 @@
$NetBSD: patch-configure,v 1.1 2013/10/27 20:35:48 joerg Exp $
--- configure.orig 2013-10-18 21:37:24.000000000 +0000
+++ configure
@@ -5097,10 +5097,6 @@ else
fi
-if test "x$GCC" = "xyes" -a "x$use_extraopt" = "xyes" ; then
- echo "Turning on extra gcc flags -finline-functions -frename-registers"
- CFLAGS="-finline-functions -frename-registers $CFLAGS"
-fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
$as_echo_n "checking for library containing strerror... " >&6; }
if ${ac_cv_search_strerror+:} false; then :

View file

@ -0,0 +1,15 @@
$NetBSD: patch-configure.in,v 1.1 2013/10/27 20:35:48 joerg Exp $
--- configure.in.orig 2013-10-18 21:37:23.000000000 +0000
+++ configure.in
@@ -26,10 +26,6 @@ AC_ARG_ENABLE(extra-gcc-optimization,
[ --disable-extra-gcc-optimization Compile without extra GCC optimization (if using GCC)],
use_extraopt="$enableval",use_extraopt=yes)
AC_PROG_CC
-if test "x$GCC" = "xyes" -a "x$use_extraopt" = "xyes" ; then
- echo "Turning on extra gcc flags -finline-functions -frename-registers"
- CFLAGS="-finline-functions -frename-registers $CFLAGS"
-fi
AC_ISC_POSIX
AC_HEADER_STDC
AM_PROG_LEX