scripts/bootstrap.sh: Remove nptlonly cruft
authorMatt Turner <mattst88@gentoo.org>
Sun, 29 Mar 2020 17:26:26 +0000 (10:26 -0700)
committerMatt Turner <mattst88@gentoo.org>
Sun, 29 Mar 2020 17:44:39 +0000 (10:44 -0700)
Signed-off-by: Matt Turner <mattst88@gentoo.org>
scripts/bootstrap.sh

index 0a4bc06c3c82ed9bd77676b652e0ee13e92e3d33..aa31fb15e8bdcbccbb8af0dd241c179dc14d559d 100755 (executable)
@@ -239,9 +239,6 @@ for opt in ${ORIGUSE} ; do
                        fi
                        USE_NPTL=1
                        ;;
-               nptlonly)
-                       USE_NPTLONLY=1
-                       ;;
                multilib)
                        ALLOWED_USE="${ALLOWED_USE} multilib"
                        ;;
@@ -284,13 +281,10 @@ for atom in portage.settings.packages:
 # Do we really want gettext/nls?
 [[ ${USE_NLS} != 1 ]] && myGETTEXT=
 
-# Do we really have no 2.4.x nptl kernels in portage?
 if [[ ${USE_NPTL} = "1" ]] ; then
        myOS_HEADERS="$(portageq best_visible / '>=sys-kernel/linux-headers-2.6.0')"
        [[ -n ${myOS_HEADERS} ]] && myOS_HEADERS=">=${myOS_HEADERS}"
        ALLOWED_USE="${ALLOWED_USE} nptl"
-       # Should we build with nptl only?
-       [[ ${USE_NPTLONLY} = "1" ]] && ALLOWED_USE="${ALLOWED_USE} nptlonly"
 fi
 [[ -z ${myOS_HEADERS} ]] && myOS_HEADERS="$(portageq expand_virtual / virtual/os-headers)"