From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1792) id 9509C3988F39; Mon, 19 Dec 2022 01:44:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9509C3988F39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671414298; bh=EthR66st7op+LkVZPck/EiJzOWYBIdeJ1CevdYKtVkw=; h=From:To:Subject:Date:From; b=ij5cA+3A8e+B17OtXkQ/raUv2w1ImFWfe5Q/2Jy09JR1t7p5cNBv4NHT2857DG4cm vIKSMHkZoN1udfqjixrxIQHmpM9L0miCrR9L/zvOkCT+QOxOGP4SaV1+df199NjmNb o5dcZ1SOvV8nDV5EJ1yFyjgF+nZxA/EROzK+3msg= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Samuel Thibault To: glibc-cvs@sourceware.org Subject: [glibc] mach: Drop remnants of old_CFLAGS X-Act-Checkin: glibc X-Git-Author: Samuel Thibault X-Git-Refname: refs/heads/master X-Git-Oldrev: 7685630b98ca2a3f5de86eadf130993e6cf998a0 X-Git-Newrev: 0fb10e49ad169374650534509767ec1d4232e230 Message-Id: <20221219014458.9509C3988F39@sourceware.org> Date: Mon, 19 Dec 2022 01:44:58 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0fb10e49ad169374650534509767ec1d4232e230 commit 0fb10e49ad169374650534509767ec1d4232e230 Author: Samuel Thibault Date: Mon Dec 19 02:38:38 2022 +0100 mach: Drop remnants of old_CFLAGS Diff: --- sysdeps/mach/configure | 4 ---- sysdeps/mach/configure.ac | 4 ---- 2 files changed, 8 deletions(-) diff --git a/sysdeps/mach/configure b/sysdeps/mach/configure index ba6371cd3f..e8a1d47102 100644 --- a/sysdeps/mach/configure +++ b/sysdeps/mach/configure @@ -144,7 +144,6 @@ else fi -CFLAGS=$old_CFLAGS ac_fn_c_check_header_preproc "$LINENO" "mach/mach_types.defs" "ac_cv_header_mach_mach_types_defs" if test "x$ac_cv_header_mach_mach_types_defs" = xyes; then : @@ -218,8 +217,6 @@ $as_echo_n "checking for creation_time in task_basic_info... " >&6; } if ${libc_cv_mach_task_creation_time+:} false; then : $as_echo_n "(cached) " >&6 else - old_CFLAGS=$CFLAGS -CFLAGS="$CFLAGS -ffreestanding" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -246,7 +243,6 @@ $as_echo "$libc_cv_mach_task_creation_time" >&6; } if test $libc_cv_mach_task_creation_time = no; then as_fn_error $? "you need Mach headers supporting task_info.creation_time" "$LINENO" 5 fi -CFLAGS=$old_CFLAGS mach_interface_list= for ifc in mach mach4 gnumach \ diff --git a/sysdeps/mach/configure.ac b/sysdeps/mach/configure.ac index 900e5445c5..a57cb259b3 100644 --- a/sysdeps/mach/configure.ac +++ b/sysdeps/mach/configure.ac @@ -15,7 +15,6 @@ fi CPPFLAGS="$CPPFLAGS -ffreestanding" AC_CHECK_HEADER(mach/mach_types.h,, [AC_MSG_ERROR([cannot find Mach headers])], -) -CFLAGS=$old_CFLAGS AC_CHECK_HEADER(mach/mach_types.defs,, [dnl AC_MSG_ERROR([cannot find Mach .defs files])], -) @@ -44,8 +43,6 @@ dnl The creation_time field is a GNU Mach addition the other variants lack. dnl AC_CACHE_CHECK(for creation_time in task_basic_info, libc_cv_mach_task_creation_time, [dnl -old_CFLAGS=$CFLAGS -CFLAGS="$CFLAGS -ffreestanding" AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ extern struct task_basic_info *i; long s = i->creation_time.seconds; @@ -53,7 +50,6 @@ long s = i->creation_time.seconds; if test $libc_cv_mach_task_creation_time = no; then AC_MSG_ERROR([you need Mach headers supporting task_info.creation_time]) fi -CFLAGS=$old_CFLAGS dnl dnl The Darwin variant no longer has