diff options
-rwxr-xr-x | bin/ebuild.sh | 6 | ||||
-rw-r--r-- | cnf/make.globals | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index e773c5558..b522f8db0 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -273,12 +273,6 @@ export LIBOPTIONS="-m0644" export DIROPTIONS="-m0755" export MOPREFIX=${PN} -# When compiler flags are unset, many packages will substitute their own -# implicit flags. For uniformity, use an empty string as the default. -[ "${CFLAGS-unset}" == "unset" ] && export CFLAGS="" -[ "${CXXFLAGS-unset}" == "unset" ] && export CXXFLAGS="" -[ "${LDFLAGS-unset}" == "unset" ] && export LDFLAGS="" - check_KV() { if [ -z "${KV}" ]; then eerror "" diff --git a/cnf/make.globals b/cnf/make.globals index 0fd503c4b..36d8591ae 100644 --- a/cnf/make.globals +++ b/cnf/make.globals @@ -12,6 +12,11 @@ # ** USE, CONFIG_*, and FEATURES are incremental ** # *************************************************** +# When compiler flags are unset, many packages will substitute their own +# implicit flags. For uniformity, use an empty string as the default. +CFLAGS="" +CXXFLAGS="" +LDFLAGS="" # Default rsync mirror SYNC="rsync://rsync.gentoo.org/gentoo-portage" |