fix(config): Remove make.conf options that duplicate profile defaults.

We were already using the default for CFLAGS, etc. LDFLAGS had
--as-needed but that has gone into the default Gentoo profile so we
ought to move it there as well. Also, ld's -O1 and -O2 are equivalent so
use the profile default -O1.
This commit is contained in:
Michael Marineau 2013-07-03 15:20:16 -04:00
parent 3428565cf1
commit 7018c2d527
4 changed files with 1 additions and 12 deletions

View File

@ -1,9 +1,5 @@
# See "man make.conf" for the available options.
ACCEPT_KEYWORDS="amd64"
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
FEATURES="allow-missing-manifests buildpkg clean-logs -collision-protect
-ebuild-locks parallel-install sandbox -strict userfetch userpriv
usersandbox -unknown-features-warn"

View File

@ -5,8 +5,6 @@
# Pull in definition of at least { ROOT, CHOST, [BOARD_OVERLAY] }
source make.conf.board_setup
ACCEPT_KEYWORDS="amd64"
# Common settings across all board targets.
source make.conf.common

View File

@ -10,10 +10,6 @@
CBUILD=x86_64-pc-linux-gnu
HOSTCC=x86_64-pc-linux-gnu-gcc
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
ACCEPT_KEYWORDS="${ARCH}"
# Be sure we don't overwrite pkgs from another sysroot.
PKGDIR=${ROOT}packages/
PORTAGE_TMPDIR=${ROOT}tmp/
@ -27,7 +23,6 @@ FEATURES="allow-missing-manifests buildpkg clean-logs -collision-protect
PORTAGE_WORKDIR_MODE="0755"
PKG_CONFIG_PATH="${ROOT}usr/lib/pkgconfig/:${ROOT}usr/share/pkgconfig/"
ELIBC="glibc"
PORTDIR="/usr/local/portage/stable"

View File

@ -42,7 +42,7 @@ VIDEO_CARDS="dummy fbdev v4l"
# after discussion on the gentoo-dev ML. As we bang out a clear
# direction with how LDFLAGS will be set by default, this entry
# may move.
LDFLAGS="-Wl,-O1"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
# 2009/09/21 Robin H. Johnson <robbat2@gentoo.org>
# http://archives.gentoo.org/gentoo-dev/msg_dc705dc2c1a45e18a85aa62e8fb17009.xml